This page describes the following instruction:
- Group: PAIR
- Mnemonic: lw
- Opcode: 172d, ACh
- Encoding: 1_010_1100b (PAIR_SRC_DST)
- Pseudo-code: if i!=0 then pc=ram[l][o] else pc++; i--
- L:LOCAL W:WHILE
- Source is the memory cell at page L offset O.
- If I is NOT zero, set the Program Counter to source. Then in either case decrement I.
The 'L' source is the value of a memory cell in the L-page. See Page Registers for more information on the three page register (D, L, C). The 'W' destination takes the source value as the target offset of a conditional jump (I != 0) to within the current code page. See In-Page Branching for more on this.