Next: TIC54X-Directives, Previous: TIC54X-Builtins, Up: TIC54X-Dependent

#### 8.29.8 Extended Addressing

The `LDX` pseudo-op is provided for loading the extended addressing bits of a label or address. For example, if an address `_label` resides in extended program memory, the value of `_label` may be loaded as follows:

          ldx     #_label,16,a    ; loads extended bits of _label
          or      #_label,a       ; loads lower 16 bits of _label
          bacc    a               ; full address is in accumulator A