Changes between Initial Version and Version 1 of Internals/Functions


Ignore:
Timestamp:
02/07/08 02:01:15 (6 years ago)
Author:
rme
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Internals/Functions

    v1 v1  
     1On IA-32, functions are tagged as fulltag-misc (6).  Therefore, 
     2there are 6 bytes (the 4 byte header and 2 extra bytes) in the 
     3lisp object before the machine code bytes start. 
     4 
     5The two bytes between the header and the entry point are used to represent 
     6the count of 32-bit words from the header to the beginning 
     7of the (gc-able) constants.  Given a tagged pointer F to a function, 
     8and the word count N, the first constant is (+ F -2 (ash N 2)). 
     9 
     10[more later] 
     11