The Instruction Set of the TMS7000 Series Sorted for Assembly Language / Assembler Design: | OPCODE | OPERANDS | INSTR | T-CYCLES | STATUS | | HEX ASM | ASM | BYTES | STD | JMP | C N Z I | | 69h | ADC | B,A | 1 | 5 | | R R R x | | 19h | ADC | Rs,A | 2 | 8 | | R R R x | | 39h | ADC | Rs,B | 2 | 8 | | R R R x | | 49h | ADC | Rs,Rd | 3 | 10 | | R R R x | | 29h | ADC | $iop,A | 2 | 7 | | R R R x | | 59h | ADC | $iop,B | 2 | 7 | | R R R x | | 79h | ADC | $iop,Rd | 3 | 9 | | R R R x | | 68h | ADD | B,A | 1 | 5 | | R R R x | | 18h | ADD | Rs,A | 2 | 8 | | R R R x | | 38h | ADD | Rs,B | 2 | 8 | | R R R x | | 48h | ADD | Rs,Rd | 3 | 10 | | R R R x | | 28h | ADD | $iop,A | 2 | 7 | | R R R x | | 58h | ADD | $iop,B | 2 | 7 | | R R R x | | 78h | ADD | $iop,Rd | 3 | 9 | | R R R x | | 63h | AND | B,A | 1 | 5 | | 0 R R x | | 13h | AND | Rs,A | 2 | 8 | | 0 R R x | | 33h | AND | Rs,B | 2 | 8 | | 0 R R x | | 43h | AND | Rs,Rn | 3 | 10 | | 0 R R x | | 23h | AND | $iop,A | 2 | 7 | | 0 R R x | | 53h | AND | $iop,B | 2 | 7 | | 0 R R x | | 73h | AND | $iop,Rd | 3 | 9 | | 0 R R x | | 83h | ANDP | A,Pn | 2 | 10 | | 0 R R x | | 93h | ANDP | B,Pn | 2 | 9 | | 0 R R x | | A3h | ANDP | %iop,Pn | 3 | 11 | | 0 R R x | | 66h | BTJO | B,A,Ofst | 2 | 7 | 9 | 0 R R x | | 16h | BTJO | Rs,A,Ofst | 3 | 10 | 12 | 0 R R x | | 36h | BTJO | Rs,B,Ofst | 3 | 10 | 12 | 0 R R x | | 46h | BTJO | Rs,Rd,Ofst | 4 | 12 | 14 | 0 R R x | | 26h | BTJO | %iop,A,Ofst | 3 | 9 | 11 | 0 R R x | | 56h | BTJO | %iop,B,Ofst | 3 | 9 | 11 | 0 R R x | | 76h | BTJO | %iop,Rd,Ofst | 4 | 11 | 13 | 0 R R x | | 86h | BTJOP | A,Pn,Ofst | 3 | 11 | 13 | 0 R R x | | 96h | BTJOP | B,Pn,Ofst | 3 | 10 | 12 | 0 R R x | | A6h | BTJOP | %>iop,Pn,Ofst | 4 | 12 | 14 | 0 R R x | | 67h | BTJZ | B,A,Ofst | 2 | 7 | 9 | 0 R R x | | 17h | BTJZ | Rs,A,Ofst | 3 | 10 | 12 | 0 R R x | | 37h | BTJZ | Rs,B,Ofst | 3 | 10 | 12 | 0 R R x | | 47h | BTJZ | Rs,Rd,Ofst | 4 | 12 | 14 | 0 R R x | | 27h | BTJZ | %iop,A,Ofst | 3 | 9 | 11 | 0 R R x | | 57h | BTJZ | %iop,B,Ofst | 3 | 9 | 11 | 0 R R x | | 77h | BTJZ | %iop,Rd,Ofst | 4 | 11 | 13 | 0 R R x | | 87h | BTJZP | A,Pn,Ofst | 3 | 11 | 13 | 0 R R x | | 97h | BTJZP | B,Pn,Ofst | 3 | 10 | 12 | 0 R R x | | A7h | BTJZP | %>iop,Pn,Ofst | 4 | 12 | 14 | 0 R R x | | 8Ch | BR | @Label | 3 | 10 | | x x x x | | ACh | BR | @Label(B) | 3 | 12 | | x x x x | | 9Ch | BR | *Rn | 2 | 9 | | x x x x | | 8Eh | CALL | @Label | 3 | 14 | | x x x x | | AEh | CALL | @Label(B) | 3 | 16 | | x x x x | | 9Eh | CALL | *Rn | 2 | 13 | | x x x x | | B5h | CLR | A | 1 | 5 | | 0 0 1 x | | C5h | CLR | B | 1 | 5 | | 0 0 1 x | | D5h | CLR | Rd | 2 | 7 | | 0 0 1 x | | B0h | CLRC | | 1 | 6 | | 0 R R x | | 6Dh | CMP | B,A | 1 | 5 | | R R R x | | 1Dh | CMP | Rs,A | 2 | 8 | | R R R x | | 3Dh | CMP | Rs,B | 2 | 8 | | R R R x | | 4Dh | CMP | Rs,Rd | 3 | 10 | | R R R x | | 2Dh | CMP | %iop,A | 2 | 7 | | R R R x | | 5Dh | CMP | %iop,B | 2 | 7 | | R R R x | | 7Dh | CMP | %iop,Rd | 3 | 9 | | R R R x | | 8Dh | CMPA | @Label | 3 | 12 | | R R R x | | ADh | CMPA | @Label(B) | 3 | 14 | | R R R x | | 9Dh | CMPA | *Rs | 2 | 11 | | R R R x | | 6Eh | DAC | B,A | 1 | 7 | | R R R x | | 1Eh | DAC | Rs,A | 2 | 10 | | R R R x | | 3Eh | DAC | Rs,B | 2 | 10 | | R R R x | | 4Eh | DAC | Rs,Rd | 3 | 12 | | R R R x | | 2Eh | DAC | %>iop,A | 2 | 9 | | R R R x | | 5Eh | DAC | %>iop,B | 2 | 9 | | R R R x | | 7Eh | DAC | %>iop,Rd | 3 | 11 | | R R R x | | B2h | DEC | A | 1 | 5 | | R R R x | | C2h | DEC | B | 1 | 5 | | R R R x | | D2h | DEC | Rd | 2 | 7 | | R R R x | | BBh | DECD | A | 1 | 9 | | R R R x | | CBh | DECD | B | 1 | 9 | | R R R x | | DBh | DECD | Rs | 2 | 11 | | R R R x | | 06h | DINT | | 1 | 5 | | 0 0 0 0 | | BAh | DJNZ | A,Ofst | 2 | 7 | 9 | x x x x | | CAh | DJNZ | B,Ofst | 2 | 7 | 9 | x x x x | | DAh | DJNZ | Rd,Ofst | 3 | 9 | 11 | x x x x | | 6Fh | DSB | B,A | 1 | 7 | | R R R x | | 1Fh | DSB | Rs,A | 2 | 10 | | R R R x | | 3Fh | DSB | Rs,B | 2 | 10 | | R R R x | | 4Fh | DSB | Rs,Rd | 3 | 12 | | R R R x | | 2Fh | DSB | %iop,A | 2 | 9 | | R R R x | | 5Fh | DSB | %iop,B | 2 | 9 | | R R R x | | 7Fh | DSB | %iop,Rd | 3 | 11 | | R R R x | | 05h | EINT | | 1 | 5 | | 1 1 1 1 | | 01h | IDLE | | 1 | 6 | | x x x x | | B3h | INC | A | 1 | 5 | | R R R x | | C3h | INC | B | 1 | 5 | | R R R x | | D3h | INC | Rd | 2 | 7 | | R R R x | | B4h | INV | A | 1 | 5 | | 0 R R x | | C4h | INV | B | 1 | 5 | | 0 R R x | | D4h | INV | Rd | 2 | 7 | | 0 R R x | | E0h | JMP | Ofst | 2 | | 7 | x x x x | | E3h | JC | Ofst | 2 | 5 | 7 | x x x x | | E2h | JEQ | Ofst | 2 | 5 | 7 | x x x x | | E5h | JGE | Ofst | 2 | 5 | 7 | x x x x | | E4h | JGT | Ofst | 2 | 5 | 7 | x x x x | | E3h | JHS | Ofst | 2 | 5 | 7 | x x x x | | E7h | JL | Ofst | 2 | 5 | 7 | x x x x | | E7h | JNC | Ofst | 2 | 5 | 7 | x x x x | | E6h | JNE | Ofst | 2 | 5 | 7 | x x x x | | E6h | JNZ | Ofst | 2 | 5 | 7 | x x x x | | E4h | JP | Ofst | 2 | 5 | 7 | x x x x | | E5h | JPZ | Ofst | 2 | 5 | 7 | x x x x | | E2h | JZ | Ofst | 2 | 5 | 7 | x x x x | | 8Ah | LDA | @Label | 3 | 11 | | 0 R R x | | AAh | LDA | @Label(B) | 3 | 13 | | 0 R R x | | 9Ah | LDA | *Rd | 2 | 10 | | 0 R R x | | 0Dh | LDSP | | 1 | 5 | | x x x x | | C0h | MOV | A,B | 1 | 6 | | 0 R R x | | D0h | MOV | A,Rd | 2 | 8 | | 0 R R x | | 62h | MOV | B,A | 1 | 5 | | 0 R R x | | D1h | MOV | B,Rd | 2 | 7 | | 0 R R x | | 12h | MOV | Rs,A | 2 | 8 | | 0 R R x | | 32h | MOV | Rs,B | 2 | 8 | | 0 R R x | | 42h | MOV | Rs,Rd | 3 | 10 | | 0 R R x | | 22h | MOV | %>iop,A | 2 | 7 | | 0 R R x | | 52h | MOV | %>iop,B | 2 | 7 | | 0 R R x | | 72h | MOV | %>iop,Rd | 3 | 9 | | 0 R R x | | 88h | MOVD | %>iop,Rd | 4 | 15 | | 0 R R x | | A8h | MOVD | %>iop(B),Rd | 4 | 17 | | 0 R R x | | 98h | MOVD | Rs,Rd | 3 | 14 | | 0 R R x | | 82h | MOVP | A,Pn | 2 | 10 | | 0 R R x | | 92h | MOVP | B,Pn | 2 | 9 | | 0 R R x | | A2h | MOVP | %>iop,Pn | 3 | 11 | | 0 R R x | | 80h | MOVP | Pn,A | 2 | 9 | | 0 R R x | | 91h | MOVP | Pn,B | 2 | 8 | | 0 R R x | | 6Ch | MPY | B,A | 1 | 44 | | 0 R R x | | 1Ch | MPY | Rs,A | 2 | 47 | | 0 R R x | | 3Ch | MPY | Rs,B | 2 | 47 | | 0 R R x | | 4Ch | MPY | Rs,Rd | 3 | 49 | | 0 R R x | | 2Ch | MPY | %>iop,A | 2 | 46 | | 0 R R x | | 5Ch | MPY | %>iop,B | 2 | 46 | | 0 R R x | | 7Ch | MPY | %>iop,Rd | 3 | 48 | | 0 R R x | | 00h | NOP | | 1 | 5 | | x x x x | | 64h | OR | B,A | 1 | 5 | | 0 R R x | | 14h | OR | Rs,A | 2 | 8 | | 0 R R x | | 34h | OR | Rs,B | 2 | 8 | | 0 R R x | | 44h | OR | Rs,Rd | 3 | 10 | | 0 R R x | | 24h | OR | %>iop,A | 2 | 7 | | 0 R R x | | 54h | OR | %>iop,B | 2 | 7 | | 0 R R x | | 74h | OR | %>iop,Rd | 3 | 9 | | 0 R R x | | 84h | ORP | A,Pn | 2 | 10 | | 0 R R x | | 94h | ORP | B,Pn | 2 | 9 | | 0 R R x | | A4h | ORP | %>iop,Pn | 3 | 11 | | 0 R R x | | B9h | POP | A | 1 | 6 | | 0 R R x | | C9h | POP | B | 1 | 6 | | 0 R R x | | D9h | POP | Rd | 2 | 8 | | 0 R R x | | 08h | POP | ST | 1 | 6 | | 0 R R x | | B8h | PUSH | A | 1 | 6 | | 0 R R x | | C8h | PUSH | B | 1 | 6 | | 0 R R x | | D8h | PUSH | Rs | 2 | 8 | | 0 R R x | | 0Eh | PUSH | ST | 1 | 6 | | 0 R R x | | 0Bh | RETI | | 1 | 9 | | (popped) | | 0Ah | RETS | | 1 | 7 | | x x x x | | BEh | RL | A | 1 | 5 | | b7 R R x | | CEh | RL | B | 1 | 5 | | b7 R R x | | DEh | RL | Rd | 2 | 7 | | b7 R R x | | BFh | RLC | A | 1 | 5 | | b7 R R x | | CFh | RLC | B | 1 | 5 | | b7 R R x | | DFh | RLC | Rd | 2 | 7 | | b7 R R x | | BCh | RR | A | 1 | 5 | | b0 R R x | | CCh | RR | B | 1 | 5 | | b0 R R x | | DCh | RR | Rd | 2 | 7 | | b0 R R x | | BDh | RRC | A | 1 | 5 | | b0 R R x | | CDh | RRC | B | 1 | 5 | | b0 R R x | | DDh | RRC | Rd | 2 | 7 | | b0 R R x | | 6Bh | SBB | B,A | 1 | 5 | | R R R x | | 1Bh | SBB | Rs,A | 2 | 8 | | R R R x | | 3Bh | SBB | Rs,B | 2 | 8 | | R R R x | | 4Bh | SBB | Rs,Rd | 3 | 10 | | R R R x | | 2Bh | SBB | %>iop,A | 2 | 7 | | R R R x | | 5Bh | SBB | %>iop,B | 2 | 7 | | R R R x | | 7Bh | SBB | %>iop,Rd | 3 | 9 | | R R R x | | 07h | SETC | | 1 | 5 | | 1 0 1 x | | 8Bh | STA | @Label | 3 | 11 | | 0 R R x | | ABh | STA | @Label(B) | 3 | 13 | | 0 R R x | | 9Bh | STA | *Rd | 2 | 10 | | 0 R R x | | 09h | STSP | | 1 | 6 | | x x x x | | 6Ah | SUB | B,A | 1 | 5 | | R R R x | | 1Ah | SUB | Rs,A | 2 | 8 | | R R R x | | 3Ah | SUB | Rs,B | 2 | 8 | | R R R x | | 4Ah | SUB | Rs,Rd | 3 | 10 | | R R R x | | 2Ah | SUB | %>iop,A | 2 | 7 | | R R R x | | 5Ah | SUB | %>iop,B | 2 | 7 | | R R R x | | 7Ah | SUB | %>iop,Rd | 3 | 9 | | R R R x | | B7h | SWAP | A | 1 | 8 | | R R R x | | C7h | SWAP | B | 1 | 8 | | R R R x | | D7h | SWAP | Rn | 2 | 10 | | R R R x | | E8h | TRAP | 0 | 1 | 14 | | x x x x | | E9h | TRAP | 1 | 1 | 14 | | x x x x | | EAh | TRAP | 2 | 1 | 14 | | x x x x | | EBh | TRAP | 3 | 1 | 14 | | x x x x | | ECh | TRAP | 4 | 1 | 14 | | x x x x | | EDh | TRAP | 5 | 1 | 14 | | x x x x | | EEh | TRAP | 6 | 1 | 14 | | x x x x | | EFh | TRAP | 7 | 1 | 14 | | x x x x | | F0h | TRAP | 8 | 1 | 14 | | x x x x | | F1h | TRAP | 9 | 1 | 14 | | x x x x | | F2h | TRAP | 10 | 1 | 14 | | x x x x | | F3h | TRAP | 11 | 1 | 14 | | x x x x | | F4h | TRAP | 12 | 1 | 14 | | x x x x | | F5h | TRAP | 13 | 1 | 14 | | x x x x | | F6h | TRAP | 14 | 1 | 14 | | x x x x | | F7h | TRAP | 15 | 1 | 14 | | x x x x | | F8h | TRAP | 16 | 1 | 14 | | x x x x | | F9h | TRAP | 17 | 1 | 14 | | x x x x | | FAh | TRAP | 18 | 1 | 14 | | x x x x | | FBh | TRAP | 19 | 1 | 14 | | x x x x | | FCh | TRAP | 20 | 1 | 14 | | x x x x | | FDh | TRAP | 21 | 1 | 14 | | x x x x | | FEh | TRAP | 22 | 1 | 14 | | x x x x | | FFh | TRAP | 23 | 1 | 14 | | x x x x | | B0h | TSTA | | 1 | 6 | | 0 R R x | | C1h | TSTB | | 1 | 6 | | 0 R R x | | B6h | XCHB | A | 1 | 6 | | 0 R R x | | D6h | XCHB | Rd | 2 | 8 | | 0 R R x | | 65h | XOR | B,A | 1 | 5 | | 0 R R x | | 15h | XOR | Rs,A | 2 | 8 | | 0 R R x | | 35h | XOR | Rs,B | 2 | 8 | | 0 R R x | | 45h | XOR | Rs,Rd | 3 | 10 | | 0 R R x | | 25h | XOR | %>iop,A | 2 | 7 | | 0 R R x | | 55h | XOR | %>iop,B | 2 | 7 | | 0 R R x | | 75h | XOR | %>iop,Rd | 3 | 9 | | 0 R R x | | 85h | XORP | A,Pn | 2 | 10 | | 0 R R x | | 95h | XORP | B,Pn | 2 | 9 | | 0 R R x | | A5h | XORP | %>iop,Pn | 3 | 11 | | 0 R R x | | 02h | | (undoc) | | | | | | 03h | | (undoc) | | | | | | 04h | | (undoc) | | | | | | 0Ch | | (undoc) | | | | | | 0Fh | | (undoc) | | | | | | 10h | | (undoc) | | | | | | 11h | | (undoc) | | | | | | 20h | | (undoc) | | | | | | 21h | | (undoc) | | | | | | 30h | | (undoc) | | | | | | 31h | | (undoc) | | | | | | 40h | | (undoc) | | | | | | 41h | | (undoc) | | | | | | 50h | | (undoc) | | | | | | 51h | | (undoc) | | | | | | 60h | | (undoc) | | | | | | 61h | | (undoc) | | | | | | 70h | | (undoc) | | | | | | 71h | | (undoc) | | | | | | 81h | | (undoc) | | | | | | 89h | | (undoc) | | | | | | 8Fh | | (undoc) | | | | | | 90h | | (undoc) | | | | | | 99h | | (undoc) | | | | | | 9Fh | | (undoc) | | | | | | A0h | | (undoc) | | | | | | A1h | | (undoc) | | | | | | A9h | | (undoc) | | | | | | AFh | | (undoc) | | | | | | B1h | | (undoc) | | | | | | C6h | | (undoc) | | | | | | E1h | | (undoc) | | | | |