Artifact c51be0ad85341c8aff36d9ba4592b5a91d9ef7cbc3a596acf0f7f88d659623ce:
- File
psl-1983/3-1/util/addr2id.sl
— part of check-in
[eb17ceb7f6]
at
2020-04-21 19:40:01
on branch master
— Add Reduce 3.0 to the historical section of the archive, and some more
files relating to version sof PSL from the early 1980s. Thanks are due to
Paul McJones and Nelson Beebe for these, as well as to all the original
authors.git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/historical@5328 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 842) [annotate] [blame] [check-ins using] [more...]
- File
psl-1983/util/addr2id.sl
— part of check-in
[eb17ceb7f6]
at
2020-04-21 19:40:01
on branch master
— Add Reduce 3.0 to the historical section of the archive, and some more
files relating to version sof PSL from the early 1980s. Thanks are due to
Paul McJones and Nelson Beebe for these, as well as to all the original
authors.git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/historical@5328 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 842) [annotate] [blame] [check-ins using]
% % ADDR2ID.RED - Attempt to find out what function an address is in % % Author: Eric Benson % Symbolic Computation Group % Computer Science Dept. % University of Utah % Date: 18 May 1982 % Copyright (c) 1982 University of Utah % (compiletime (load syslisp useful)) (compiletime (fluid '(code-address* closest-address* closest-symbol*))) (de code-address-to-symbol (code-address*) (let ((closest-symbol* ()) (closest-address* 0)) (mapobl #'(lambda (symbol) (when (fcodep symbol) (let ((address (inf (getfcodepointer symbol)))) (when (and (ileq address code-address*) (igreaterp address closest-address*)) (setq closest-address* address) (setq closest-symbol* symbol)))))) closest-symbol*))