|
|
## Encoding Overview
|
|
|
Instructions can range from 2 to 7 bytes, depending on operand size and count. Instructions do not require or enforce a particular memory alignment, thus allowing the tightest possible packing of code in memory.
|
|
|
Instructions can range from 1 to 7 bytes, depending on operand size and count. Instructions do not require or enforce a particular memory alignment, thus allowing the tightest possible packing of code in memory.
|
|
|
|
|
|
The instruction format appears as follows:
|
|
|
|
... | ... | @@ -9,8 +9,8 @@ PC + 0 7 8 9 C D F 10 |
|
|
|OPCODE |T|MOD |DSP| DEST OPERAND |T|MOD |DSP| SOURCE OPERAND |
|
|
|
+--------+-+----+---+--------+--------+-+----+---+--------+--------+
|
|
|
DEST AMOD SRC AMOD
|
|
|
|
|
|
NOTE: Not all instructions will use every part of the above diagram. For example, a byte-sized operand will consume one byte instead of two, and some instructions may use zero or one operand.
|
|
|
```
|
|
|
NOTE: Not all instructions will use every part of the above diagram. For example, a byte-sized operand will consume one byte instead of two, and some instructions may use zero or one operand.
|
|
|
|
|
|
## Opcodes
|
|
|
|