10 bit mode may be expanded by 16 bit mode later, adding capabilities
that do not fit in the extreme limited space.
- | 0 1 2 3 4 | | 5 6 7 | 8 9 | a b | c d | e | f |
- | | | 0 0 0 | offs | LK | 1 | b
- | | | 0 0 1 | 00 | BI | BO | LK | 1 | bclr
- | | | 0 0 1 | 01 | BI | BO | LK | 1 | bctar
+ | 0 1 | 2 3 4 | | 5 6 7 | 8 9 | a b | c d | e | f |
+ | offs2 | | 0 0 0 | offs | LK | 1 | b
+ | BO2 | BI3 | | 0 0 1 | 00 | BI | BO | LK | 1 | bclr
+ | BO2 | BI3 | | 0 0 1 | 01 | BI | BO | LK | 1 | bctar
+
+16 bit mode:
+
+* offs2 extends offset in MSBs
+* BI3 extends BI in MSBs to allow selection of full CR
+* BO2 extends BO
10 bit mode:
### LD/ST
- | 0 1 2 3 4 | | 5 6 7 | 8 9 | a b | c d | e | f |
- | | | 0 0 1 | 11 | RB | RA | 0 | 1 | ld
- | | | 0 0 1 | 11 | RB | RA | 1 | 1 | st
+ | 0 1 | 2 3 4 | | 5 6 7 | 8 9 | a b | c d | e | f |
+ | | RT | | 0 0 1 | 11 | RB | RA | 0 | 1 | ld
+ | | RT | | 0 0 1 | 11 | RB | RA | 1 | 1 | st
* elwidth overrides can set different widths
+16 bit mode:
+
+10 bit mode:
+
### Arithmetic
- | 0 1 2 3 4 | | 5 6 7 | 8 9 a | b c d | e | f |
- | | | 0 1 0 | RB | RA | 0 | 1 | add
- | | | 0 1 0 | RB | RA | 1 | 1 | mul
- | | | 0 1 1 | RB | (RA|0)| 0 | 1 | sub
- | | | 0 1 1 | RB | (RA|0)| 1 | 1 | cmp
+ | 0 1 | 2 3 4 | | 5 6 7 | 8 9 a | b c d | e | f |
+ | | | | 0 1 0 | RB | RA | 0 | 1 | add
+ | | | | 0 1 0 | RB | RA | 1 | 1 | mul
+ | | | | 0 1 1 | RB | (RA|0)| 0 | 1 | sub
+ | | | | 0 1 1 | RB | (RA|0)| 1 | 1 | cmp
10 bit mode:
### Logical
- | 0 1 2 3 4 | | 5 6 7 | 8 9 a | b c d | e | f |
- | | | 1 0 0 | RB | RA | 0 | 1 | and
- | | | 1 0 0 | RB | RA | 1 | 1 | nand
- | | | 1 0 1 | RB | RA | 0 | 1 | or
- | | | 1 0 1 | RB | (RA|0)| 1 | 1 | nor
+ | 0 1 | 2 3 4 | | 5 6 7 | 8 9 a | b c d | e | f |
+ | | | | 1 0 0 | RB | RA | 0 | 1 | and
+ | | | | 1 0 0 | RB | RA | 1 | 1 | nand
+ | | | | 1 0 1 | RB | RA | 0 | 1 | or
+ | | | | 1 0 1 | RB | (RA|0)| 1 | 1 | nor
10 bit mode:
### Floating Point
- | 0 1 2 3 4 | | 5 6 7 | 8 9 a | b c d | e | f |
- | | | 1 1 0 | RB | RA!=0 | 0 | 1 | fadd
- | | | 1 1 0 | RB | 0 0 0 | 0 | 1 | fabs
- | | | 1 1 0 | RB | RA | 1 | 1 | fmul
- | | | 1 1 1 | RB | (RA|0)| 0 | 1 | fsub
- | | | 1 1 1 | RB | (RA|0)| 1 | 1 | fcmp
+ | 0 1 | 2 3 4 | | 5 6 7 | 8 9 a | b c d | e | f |
+ | | | | 1 1 0 | RB | RA!=0 | 0 | 1 | fadd
+ | | | | 1 1 0 | RB | 0 0 0 | 0 | 1 | fabs
+ | | | | 1 1 0 | RB | RA | 1 | 1 | fmul
+ | | | | 1 1 1 | RB | (RA|0)| 0 | 1 | fsub
+ | | | | 1 1 1 | RB | (RA|0)| 1 | 1 | fcmp
10 bit mode: