List of Mnemonics


⇦ list 50...5F   ⇧ table   list 70...7F ⇨

Opcode Mnemonic Description
60 #b ANIM #b And operation with immediate byte #b in Memory register (p)
61 #b ORIM #b Or operation with byte #b in register (p)
62 #b TSIM #b Test operation with immediate byte #b in register (p)
63 #b CPIM #b Compare operation with byte #b in register (p)
64 #b ANIA #b And operation with immediate byte #b in Accumulator A
65 #b ORIA #b Or operation with byte #b in A
66 #b TSIA #b Test operation with immediate byte #b in A
67 #b CPIA #b Compare operation with byte #b in A
69 ETC Execute Table Call (dispatch subroutines)
6B #b TEST #b Test operation with byte #b on system port
6F WAIT0 Wait for input port Xin to become 0

 

Language Conventions.

Test and Compare
The compare (CP) commands compute a difference (e.g., 67 #b CPIA #b: A – #b) and set the zero and carry flags accordingly.
The test (TS) commands set the zero flag according to the result of an AND operation. The bits of the system port probed by 6B TEST are connected to internal clocks and the BRK key. For example, the bit 08 (3rd bit) is set when the BRK key is pressed, so that 6B #08 TEST #08 clears the zero flag.

Disclaimer

Advertisements