Important: The information in this document is obsolete and should not be used for new development.
StripAddress
Use theStripAddress
function to strip the flag bits from a 24-bit memory address.
FUNCTION StripAddress (address: UNIV Ptr): Ptr;
address
- The address to strip.
DESCRIPTION
TheStripAddress
function returns a pointer that references the same address
passed in theaddress
parameter, but in a form that is comprehensible to the 32-bit Memory Manager.The effect of the
StripAddress
function depends on the startup mode of the Memory Manager, not on the current mode. Thus, if the Memory Manager started up in 32-bit mode, the address passed toStripAddress
is unchanged (because it already must be a 32-bit address). If the Memory Manager started up in 24-bit mode, the function returns the low-order 3 bytes of the address. You should not pass valid 32-bit addresses toStripAddress
if the Memory Manager started up in 24-bit mode.ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit forStripAddress
are
Registers on entry D0 The address to strip
Registers on exit D0 The function result