as: TIC54X-Ext

1 
1 9.45.8 Extended Addressing
1 --------------------------
1 
1 The 'LDX' pseudo-op is provided for loading the extended addressing bits
1 of a label or address.  For example, if an address '_label' resides in
1 extended program memory, the value of '_label' may be loaded as follows:
1       ldx     #_label,16,a    ; loads extended bits of _label
1       or      #_label,a       ; loads lower 16 bits of _label
1       bacc    a               ; full address is in accumulator A
1