diff options
Diffstat (limited to '')
-rw-r--r-- | cpu/instructions/opcode.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cpu/instructions/opcode.txt b/cpu/instructions/opcode.txt index f43f58a..16cdbd3 100644 --- a/cpu/instructions/opcode.txt +++ b/cpu/instructions/opcode.txt @@ -3,8 +3,8 @@ Binary format: is_conditional: - n: number of bits for current mode - s: minimum number of bits required to represent n-1 + n: number of bits in first parameter + s: minimum number of bits required to represent (number of bits for current mode)-1 /: integer division Appends 2 parameters to the normal parameter list for the instruction: @@ -21,3 +21,7 @@ is_conditional: Conditional instructions will be executed after unconditional ones Conditional instructions will never set flags, if a conditional instruction references another, it will always be based on null flags + +Exceptions: + If s > n: + TODO: make exception list |