summaryrefslogtreecommitdiff
path: root/twasm/README.md
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-03-09 23:00:39 +0100
committerandromeda <andromeda@lenovo>2026-03-09 23:01:12 +0100
commita972f38bb636fdcb41a2bb7c856f7f546076b397 (patch)
treef41fde5f682d33e228510aa3b73e9bf6041a8df4 /twasm/README.md
parent869420ef7ab2bfa8bc04c44584e55bb337d83f32 (diff)
add get_direct_addressing_ModRM and test_*, fix a couple bugs/typos, add 'reg value' as register metadata
Diffstat (limited to 'twasm/README.md')
-rw-r--r--twasm/README.md16
1 files changed, 9 insertions, 7 deletions
diff --git a/twasm/README.md b/twasm/README.md
index e6f386e..ce6beec 100644
--- a/twasm/README.md
+++ b/twasm/README.md
@@ -127,13 +127,15 @@ type metadata for the different types is as follows:
```
```
-+------------------+
-| type 0x2 |
-+----------+-------+
-| 31 26 | 25 24 |
-+----------+-------+
-| reserved | width |
-+----------+-------+
++------------------------------+
+| type 0x2 |
++----------+-----------+-------+
+| 31 29 | 28 26 | 25 24 |
++----------+-----------+-------+
+| reserved | reg value | width |
++----------+-----------+-------+
+
+; reg is the value that cooresponds to the register in the ModR/M byte
; width:
00b ; 8 bit