Autosave: 2024-03-11 07:20:03
This commit is contained in:
parent
4c6e2e763f
commit
0b96301ce2
1 changed files with 20 additions and 5 deletions
|
@ -25,7 +25,22 @@ partition each part of the sequence below, from left to right, mapping it to the
|
|||
instruction:
|
||||
|
||||
| Binary sequence | Instruction | Action |
|
||||
| --------------- | ----------- | ------ |
|
||||
| 1110 | | |
|
||||
| 00 | | |
|
||||
| 1101 | | |
|
||||
| --------------- | -------------------- | ---------------------------------------- |
|
||||
| 1110 | condition | always execute (unconditional) |
|
||||
| 00 | -- | -- |
|
||||
| 1 | immediate | value is in the last 8 bits |
|
||||
| 1101 | opcode | `mov` : move the value |
|
||||
| 0 | -- | -- |
|
||||
| 0000 | -- | -- |
|
||||
| 0111 | destination register | destinaation is 0111 which corresonds |
|
||||
| to `r7` |
|
||||
| 0000 | -- | -- |
|
||||
| 00000100 | immediate value | the binary representation of decimal '4' |
|
||||
|
||||
- The blank values are also instruction points, they are just not used in this
|
||||
instruction
|
||||
|
||||
- The instruction should run in all conditions not only under certain
|
||||
circumstances
|
||||
|
||||
- The immediate bit (`1`) tells us
|
||||
|
|
Loading…
Add table
Reference in a new issue