This page describes the following instruction:
- Group: PAIR
- Mnemonic: nw
- Opcode: 140d, 8Ch
- Encoding: 1_000_1100b (PAIR_SRC_DST)
- Pseudo-code: if i!=0 then pc=ram[c][pc] else pc++; i--
- N:NUMBER W:WHILE
- Source is the literal following the current opcode.
- If I is NOT zero, set the Program Counter to source. Then in either case decrement I.
The 'N' source is a literal byte embedded in the instruction stream. Reading 'N' acts in the same way as an instruction fetch, only it fetches a literal. 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.