about summary refs log tree commit diff stats
path: root/subx/051test.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-10-01 15:12:56 -0700
committerKartik Agaram <vc@akkartik.com>2018-10-01 15:14:36 -0700
commit4224ec8188bc0e6f27e7063a8f5ec3355e892570 (patch)
tree226e148fb66eecfd314b628b9f09380bfc2e99b2 /subx/051test.subx
parent1666b12f37b2714e136d07db52e115ab14b06a20 (diff)
downloadmu-4224ec8188bc0e6f27e7063a8f5ec3355e892570.tar.gz
4642
Diffstat (limited to 'subx/051test.subx')
-rw-r--r--subx/051test.subx6
1 files changed, 6 insertions, 0 deletions
diff --git a/subx/051test.subx b/subx/051test.subx
index 8edcee49..c8c4b89c 100644
--- a/subx/051test.subx
+++ b/subx/051test.subx
@@ -1,5 +1,9 @@
 == code
 
+# instruction                     effective address                                                   operand     displacement    immediate
+# op          subop               mod             rm32          base        index         scale       r32
+# 1-3 bytes   3 bits              2 bits          3 bits        3 bits      3 bits        2 bits      2 bits      0/1/2/4 bytes   0/1/2/4 bytes
+
 # print msg to stderr if a != b, otherwise print "."
 check_ints_equal:  # (a : int, b : int, msg : (address array byte)) -> boolean
   # prolog
@@ -57,3 +61,5 @@ Newline:
   01 00 00 00
   # data
   0a/newline
+
+# vim:ft=subx:nowrap:tw&