about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-07-01 21:01:34 -0700
committerKartik Agaram <vc@akkartik.com>2018-07-01 21:01:34 -0700
commit50f59b4102de2164eb6e798739deb114e720924a (patch)
tree80e55df64e39864f0c3f11c0ae5c781fa91d6044 /subx
parent8ee9b7b7bdaf667b8b2bcc833307b48078945e09 (diff)
downloadmu-50f59b4102de2164eb6e798739deb114e720924a.tar.gz
4305
Diffstat (limited to 'subx')
-rw-r--r--subx/022transform_immediate.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/subx/022transform_immediate.cc b/subx/022transform_immediate.cc
index bdbdd77e..eefe9a40 100644
--- a/subx/022transform_immediate.cc
+++ b/subx/022transform_immediate.cc
@@ -1,3 +1,7 @@
+//: Having to manually translate numbers into hex and enter them in
+//: little-endian order is tedious and error-prone. Let's automate the
+//: translation.
+
 :(scenario translate_immediate_constants)
 # opcode        ModR/M                    SIB                   displacement    immediate
 # instruction   mod, reg, Reg/Mem bits    scale, index, base