This page describes the following instruction:
- Group: PAIR
- Mnemonic: ga
- Opcode: 185d, B9h
- Encoding: 1_011_1001b (PAIR_SRC_DST)
- Pseudo-code: if (o+g)>255 then g+=1; pc++
- G:GLOBAL A:ADD
- Source is the G register.
- Add source to O. If this produces a carry bit, add the carry bit to D.
The 'G' source is the page index used for memory operations via the 'M' source or destination. 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.