pTAL Reference Manual (H06.08+)

Data Representation
HP pTAL Reference Manual523746-006
3-8
Converting Between Address Types
The compiler generates code for implicit conversions for the following operations:
Block moves and compares
The compiler automatically converts an address type if required for the source or
destination pointer in a block move or block compare instruction.
Call-by-reference actual parameters
The compiler automatically converts the address type of an actual parameter to the
address type of a formal parameter if the conversion could not cause data loss. For
example:
°
BADDR can be converted to EXTADDR
°
WADDR can be converted to EXTADDR
°
EXTADDR cannot be converted to WADDR