This page describes the following instruction:
- Group: PAIR
- Mnemonic: pw
- Opcode: 252d, FCh
- Encoding: 1_111_1100b (PAIR_SRC_DST)
- Pseudo-code: if i!=0 then pc=pir else pc++; i--
- P:PARALLEL W:WHILE
- Source is the Parallel Input register (PIR).
- If I is NOT zero, set the Program Counter to source. Then in either case decrement I.
The 'P' source is a data byte received on the parallel bus. See Device Communication for how this works. 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.