diff options
author | Ian Moffett <ian@osmora.org> | 2024-07-28 10:04:09 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-07-28 10:04:09 -0400 |
commit | 2a967a2c6279db80ac03b239ac3857617878163b (patch) | |
tree | d8cd0a05bdd45ff87c79f39181060672e1cd6916 | |
parent | 6afee5562a917328fce1627621b6c11ef0753002 (diff) |
Allow indirect loads/stores
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | README.md | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -51,14 +51,14 @@ and x1, x1, #1 | Mnemonic | Effect | ------------------------------------- | ---------------------------------- | | `mov` dst: r, src: r/imm | `dst` = `src` | -| `stb` src: r, [dst: m, offset: r/imm] | 1-byte store to memory at `dst` | -| `stw` src: r, [dst: m, offset: r/imm] | 2-byte store to memory at `dst` | -| `std` src: r, [dst: m, offset: r/imm] | 4-byte store to memory at `dst` | -| `stq` src: r, [dst: m, offset: r/imm] | 8-byte store to memory at `dst` | -| `ldb` dst: r, [src: m, offset: r/imm] | 1-byte load from memory at `src` | -| `ldw` dst: r, [src: m, offset: r/imm] | 2-byte load from memory at `src` | -| `ldd` dst: r, [src: m, offset: r/imm] | 4-byte load from memory at `src` | -| `ldq` dst: r, [src: m, offset: r/imm] | 8-byte load from memory at `src` | +| `stb` src: r, [dst: r/m, offset: r/imm] | 1-byte store to memory at `dst` | +| `stw` src: r, [dst: r/m, offset: r/imm] | 2-byte store to memory at `dst` | +| `std` src: r, [dst: r/m, offset: r/imm] | 4-byte store to memory at `dst` | +| `stq` src: r, [dst: r/m, offset: r/imm] | 8-byte store to memory at `dst` | +| `ldb` dst: r, [src: r/m, offset: r/imm] | 1-byte load from memory at `src` | +| `ldw` dst: r, [src: r/m, offset: r/imm] | 2-byte load from memory at `src` | +| `ldd` dst: r, [src: r/m, offset: r/imm] | 4-byte load from memory at `src` | +| `ldq` dst: r, [src: r/m, offset: r/imm] | 8-byte load from memory at `src` | #### Example ``` |