From a972f38bb636fdcb41a2bb7c856f7f546076b397 Mon Sep 17 00:00:00 2001 From: andromeda Date: Mon, 9 Mar 2026 23:00:39 +0100 Subject: add get_direct_addressing_ModRM and test_*, fix a couple bugs/typos, add 'reg value' as register metadata --- twasm/README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'twasm/README.md') 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 -- cgit v1.3.1