Introduction
A decle has ten bits, so the map has 1,024 entries; the register field takes the last three, so each cell below is eight decles (the row gives the decle’s first digits, the
column adds 0 to 38 in steps of 8). A cell lists the instructions in those eight decles. A name with @ is the indirect (and stack) form, a name ending in I the
immediate form, and a name alone the direct form. The aliases (TSTR, JR, CLRR, PSHR, PULR) are inside their instructions.
The map
| +00 | +08 | +10 | +18 | +20 | +28 | +30 | +38 | |
|---|---|---|---|---|---|---|---|---|
| 000 | HLT SDBD EIS DIS J TCI CLRC SETC | INCR | DECR | COMR | NEGR | ADCR | GSWD NOP SIN | RSWD |
| 040 | SWAP | SLL | RLC | SLLC | SLR | SAR | RRC | SARC |
| 080 | MOVR | MOVR | MOVR | MOVR | MOVR | MOVR | MOVR | MOVR |
| 0C0 | ADDR | ADDR | ADDR | ADDR | ADDR | ADDR | ADDR | ADDR |
| 100 | SUBR | SUBR | SUBR | SUBR | SUBR | SUBR | SUBR | SUBR |
| 140 | CMPR | CMPR | CMPR | CMPR | CMPR | CMPR | CMPR | CMPR |
| 180 | ANDR | ANDR | ANDR | ANDR | ANDR | ANDR | ANDR | ANDR |
| 1C0 | XORR | XORR | XORR | XORR | XORR | XORR | XORR | XORR |
| 200 | B BC BOV BPL BEQ BLT BLE BUSC | NOPP BNC BNOV BMI BNEQ BGE BGT BESC | BEXT | BEXT | B BC BOV BPL BEQ BLT BLE BUSC | NOPP BNC BNOV BMI BNEQ BGE BGT BESC | BEXT | BEXT |
| 240 | MVO | MVO@ | MVO@ | MVO@ | MVO@ | MVO@ | MVO@ | MVOI |
| 280 | MVI | MVI@ | MVI@ | MVI@ | MVI@ | MVI@ | MVI@ | MVII |
| 2C0 | ADD | ADD@ | ADD@ | ADD@ | ADD@ | ADD@ | ADD@ | ADDI |
| 300 | SUB | SUB@ | SUB@ | SUB@ | SUB@ | SUB@ | SUB@ | SUBI |
| 340 | CMP | CMP@ | CMP@ | CMP@ | CMP@ | CMP@ | CMP@ | CMPI |
| 380 | AND | AND@ | AND@ | AND@ | AND@ | AND@ | AND@ | ANDI |
| 3C0 | XOR | XOR@ | XOR@ | XOR@ | XOR@ | XOR@ | XOR@ | XORI |
Reserved and illegal
Every decle is part of an instruction. The only reserved combination is in a jump: the interrupt field ii = 3 of the second decle of 0004 (with any return register).
jzIntv’s disassemblers print such a jump as DECLE words, and so does the explorer (status Illegal). A branch cut short by the end of the file, or any instruction cut short, is shown the same way.
The top six bits of the 16-bit word that holds a decle (bits 15 to 10) should be zero; a decle with one of them set is decoded from its low ten bits and marked Undocumented.
Not described
Known, not yet covered
- Reference: the extended instructions of the LTO Flash! and Intellicart (jzIntv has an extended ISA mode that reuses MVII-family decles).
Unknown
- Reference: what a real chip does with a jump whose interrupt field is 3.