about summary refs log tree commit diff stats
path: root/subx/023transform_immediate.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-07-18 20:49:17 -0700
committerKartik Agaram <vc@akkartik.com>2018-07-18 20:49:17 -0700
commit4a3a616e71673419f2b21c8dd2c0cb1d4346a8b0 (patch)
tree80468175b9325f321443aadda861b0445c141e1c /subx/023transform_immediate.cc
parentd4f2bdd40e65c84c1685346309b5d9f1663100d3 (diff)
downloadmu-4a3a616e71673419f2b21c8dd2c0cb1d4346a8b0.tar.gz
4368
Diffstat (limited to 'subx/023transform_immediate.cc')
-rw-r--r--subx/023transform_immediate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/023transform_immediate.cc b/subx/023transform_immediate.cc
index b1825fda..33ebbc90 100644
--- a/subx/023transform_immediate.cc
+++ b/subx/023transform_immediate.cc
@@ -11,7 +11,7 @@
 # opcode        ModR/M                    SIB                   displacement    immediate
 # instruction   mod, reg, Reg/Mem bits    scale, index, base
 # 1-3 bytes     0/1 byte                  0/1 byte              0/1/2/4 bytes   0/1/2/4 bytes
-  bb                                                                            42/imm32
+  bb                                                                            42/imm32      # copy 42 to EBX
 +translate: converting '42/imm32' to '2a 00 00 00'
 +run: copy imm32 0x0000002a to EBX