Skip to content

Commit

Permalink
Use last byte instead of first byte for SB. (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
adlerjohn authored Jan 27, 2021
1 parent 6b81fd1 commit af149e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/opcodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ All these opcodes advance the program counter `$pc` by `4` after performing thei
| | |
| ----------- | ----------------------------------------------------------------------------------- |
| Description | The least significant byte of `$rs` is stored at the address `$rd` offset by `imm`. |
| Operation | ```MEM[$rd + imm, 1] = $rs[0, 1];``` |
| Operation | ```MEM[$rd + imm, 1] = $rs[7, 1];``` |
| Syntax | `sb $rd, $rs, imm` |
| Encoding | `0x00 rd rs i i` |
| Notes | |
Expand Down

0 comments on commit af149e5

Please sign in to comment.