Important: The information in this document is obsolete and should not be used for new development.
StripAddress
Use theStripAddressfunction to strip the flag bits from a 24-bit memory address.
FUNCTION StripAddress (address: UNIV Ptr): Ptr;
address- The address to strip.
DESCRIPTION
TheStripAddressfunction returns a pointer that references the same address
passed in theaddressparameter, but in a form that is comprehensible to the 32-bit Memory Manager.The effect of the
StripAddressfunction 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 toStripAddressis 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 toStripAddressif the Memory Manager started up in 24-bit mode.ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit forStripAddressare
Registers on entry D0 The address to strip
Registers on exit D0 The function result