Differences
The following table is an overview of all differences between the SYSTEM00, CDP1801 and CDP1802 instruction sets. Incompatible differences are shown with text in orange. The CDP1804 and CDP1805 (as well as CDP1806) have additional instructions starting with opcode 68.
Note that the SYSTEM00 is an implementation of the COSMAC instruction set likely constructed largely of 7400-series TTL logic, i.e. not a microprocessor. For more details on the SYSTEM00 see also Herb Johnson's page System 00 inspection. The 1801 is a 2-chip implementation which became the 1802.
Opcode | SYSTEM 00 | CDP1801 | CDP1802 |
---|---|---|---|
00 | IDLE R0 | IDLE | |
0N (N<>0) | IDLE RN | undefined | LDN RN |
1N | INC RN | ||
2N | DEC RN | ||
30 | BR xx | ||
31 | BNZ xx | undefined | BQ xx |
32 | BZ xx | ||
33 | BDF xx, BPZ xx or BGE xx | ||
34 | B1 xx | ||
35 | B2 xx | ||
36 | B3 xx | ||
37 | B4 xx | ||
38 | undefined | SKP or NBR | |
39 | undefined | BNQ xx | |
3A | undefined | BNZ xx | |
3B | undefined | BNF xx, BM xx, BL xx | |
3C | undefined | BN1 xx | |
3D | undefined | BN2 xx | |
3E | undefined | BN3 xx | |
3F | undefined | BN4 xx | |
4N | LDA RN | ||
5N | STR RN | ||
60 | undefined | OUT 0 | IRX |
6N (1 ≤ N ≤ 3) | OUT N | ||
6N (4 ≤ N ≤ 7) | undefined | OUT N | |
68 | INP 0: BUS -> M(RX) | Reserved for 1804/1805 | |
6N (9 ≤ N ≤ F) | undefined | INP N-8: BUS -> M(RX) | INP N-8: BUS -> D, BUS -> M(RX) |
70 | RET | ||
71 | undefined | DIS | |
72 | undefined | LDXA | |
73 | undefined | STXD | |
74 | undefined | ADC | |
75 | undefined | SDB | |
76 | undefined | SHRC or RSHR | |
77 | undefined | SMB | |
78 | SAV | ||
79 | undefined | MARK | |
7A | undefined | REQ | |
7B | undefined | SEQ | |
7C | undefined | ADCI xx | |
7D | undefined | SDBI xx | |
7E | undefined | SHLC or RSHL | |
7F | undefined | SMBI xx | |
8N | GLO RN | ||
9N | GHI RN | ||
AN | PLO RN | ||
BN | PHI RN | ||
C0 | PHI R0 | undefined | LBR xxxx |
C1 | PHI R1 | undefined | LBQ xxxx |
C2 | PHI R2 | undefined | LBZ xxxx |
C3 | PHI R3 | undefined | LBDF xxxx |
C4 | PHI R4 | undefined | NOP |
C5 | PHI R5 | undefined | LSNQ |
C6 | PHI R6 | undefined | LSNZ |
C7 | PHI R7 | undefined | LSNF |
C8 | PHI R8 | undefined | LSKP or NLBR |
C9 | PHI R9 | undefined | LBNQ xxxx |
CA | PHI RA | undefined | LBNZ xxxx |
CB | PHI RB | undefined | LBNF xxxx |
CC | PHI RC | undefined | LSIE |
CD | PHI RD | undefined | LSQ |
CE | PHI RE | undefined | LSZ |
CF | PHI RF | undefined | LSDF |
DN | SEP RN | ||
EN | SEX RN | ||
F0 | LDX | ||
F1 | OR | ||
F2 | AND | ||
F3 | XOR | ||
F4 | ADD | ||
F5 | SD | ||
F6 | SHR | ||
F7 | undefined | SM | |
F8 | undefined | LDI xx | |
F9 | undefined | ORI xx | |
FA | undefined | ANI xx | |
FB | undefined | XRI xx | |
FC | undefined | ADI xx | |
FD | undefined | SDI xx | |
FE | undefined | SHL | |
FF | undefined | SMI xx |