INSTRUCTION SET SUMMARY CrPIOTU el Mnemonics Operation Microcycies Comments Dir. Indr. Imm. Stac ® 2 12 4| ADD ADD 10 | 8 | 8 | 11 2 2/2 a) SUB SUBtract 10 | 8 | 8 | 11 s Sis S| CMP CoMPare 10 | 8 | 8 | 11 Result not saved ao = re) AND logical AND 10 8 8 |; 11 3 = XOR eXclusive OR 10 | 8 8 | 11 g =| 6 | mvo MoVe In 10 |38| 81 Ww = MVI MoVe In 10 | 8 8 | 11 o ADDR ADD contents of Registers 6 Add one cycle = 5| SUBR SUBtract contents of Registers 6 if Register 6 or 7, except”. 2 %| CMPR CoMPare Registers by subtr. 6 Result not saved = 2| ANDR logical AND Registers 6 2a XORR eXclusive OR Registers 6 MOVR MOVe Register — 6 a CLRR CLeaR Register 6 XORR with itself c TSTR TeST Register 6 = JR Jump to address in Register 7* PC-—(RRR) 3] 5 INCR INCrement Register 6 a1 DECR DECrement Register 6 £!| od COMR COMplement Register 6 One’s Complement sle NEGR NEGate Register 6 Two’s Complement 21 © ADCR ADd Carry Bit to Register 6 o} 2] GSWD Get Status WorD 6 clo NOP No OPeration 6 Two Words | SIN Software INterrupt 6 Pulse to PCIT pin D RSWD Return Status WorD 6 c PULR PULI from stack to Register 11° PULR=MVI @ R6 PSHR PuSH Register to stack 9° PSHR=MVO @ R6 SLL Shift Logical Left 6 7 = RLC Rotate Left thru Carry 6 one or two position £ SLLC Shift Logical Left thru Carry 6 | shift capability. Add . SLR . Shift Logical Right 6 two cycles for 2-position 2 | SAR Shift Arithmetic Right 6 shift i RRC Rotate Right thru Carry 6 c SARC Shift Arithmetic Right thru Carry 6 SWAP SWAP 8-bit bytes 6 J 2-position=SWAP twice HLT HaLT 4 2 SDBD Set Double Byte Data 4 _ Must precede external reference 0 2 EIS Enable Interrupt System 4 to double byte data = 8 DIS Disable Interrupt System 4 6 é TCI Terminate Current Interrupt 4 - Not Interruptible c CLRC CLeaR Carry tozero ~ 4 7 SETC SET Carry to one 4 a “ J Jump 12 ao JE Jump, Enable, interrupt 12 Eo JD Jump, Disable interrupt 12 Sc JSR Jump, Save Return 12 Return Address 2 JSRE Jump, Save Return & Enable 12 saved in R4, 5 or 6 ~ JSRD Jump, Save Return & Disable Interrupt 12 B unconditional Branch 7 Displacement in PC+1 BC, BLGE Branch on Carry, C=1 7 PC-—PC+Displacement re BNC, BLLT Branch on No Carry, C=0 7 Add 2 cycles if test condition io) BOV Branch on OVerflow, OV=1 7 is true. re) BNOV Branch on No OVerflow, OV=0 7 2 BPL Branch on PLus, S=0 7 2 BMI Branch on Minus, S=1 7 ya BZE, BEQ Branch on ZEro or EQual 7 Z=1 S BNZE, © BNEQ Branch if Not ZEro or Not EQual 7 Z=0 as BLT Branch if Less Than 7 S¥OV=1 = BGE Branch if Greater than or Equal 7 S¥OV=0 2 BLE Branch if Less than or Equal 7 ZV(S¥OV)=1 a BGT Branch if Greater Than 7 ZV(S¥OV)=0 S BUSC Branch if Sign ¥ Carry 7 C¥S=1 O BESC Branch if Sign = Carry 7 C¥S=0 BEXT Branch if External condition is True 7 4LSB of Instruction are decoded to select 1 of 16 external conditions. 1 MICROCYCLE = 2 CLOCK CYCLES _ 7-89 (Je) id = << cS => — rear rerrernrrr