From 2a967a2c6279db80ac03b239ac3857617878163b Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 28 Jul 2024 10:04:09 -0400 Subject: Allow indirect loads/stores Signed-off-by: Ian Moffett --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index c4d30f5..def3aff 100644 --- a/README.md +++ b/README.md @@ -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 ``` -- cgit v1.2.3