This page describes the following instruction:
- Group: PAIR
- Mnemonic: na
- Opcode: 137d, 89h
- Encoding: 1_000_1001b (PAIR_SRC_DST)
- Pseudo-code: pc++; if (o+ram[c][pc])>255 then d+=1; pc++
- N:NUMBER A:ADD
- Source is the literal following the current opcode.
- Add source to O. If this produces a carry bit, add the carry bit to D.
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 'A' destination takes the source value as the addend which is added to the Data pointer (register pair D:O). See In-Page Branching for more on this.