PC-relative addressing mode creates the effective address by adding
a 32-bit immediate to the current program counter. It is used to
access global variables, and automatically makes the code position
independent (i.e. for shared libraries). These instructions are
all two parcels in length.
| Mnemonic |
Format |
Unit |
Semantics |
Description |
| lpuw |
fP |
mu |
x.i = uword(pc+pc_relative) zrx |
Load PC-Relative Unsigned Word |
| lpuh |
fP |
mu |
x.i = uhalf(pc+pc_relative) zrx |
Load PC-Relative Unsigned Halfword |
| lpub |
fP |
mu |
x.i = ubyte(pc+pc_relative) zrx |
Load PC-Relative Unsigned Byte |