about summary refs log tree commit diff stats
path: root/subx/050write_stderr.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/050write_stderr.subx
parent1666b12f37b2714e136d07db52e115ab14b06a20 (diff)
downloadmu-4224ec8188bc0e6f27e7063a8f5ec3355e892570.tar.gz
4642
Diffstat (limited to 'subx/050write_stderr.subx')
-rw-r--r--subx/050write_stderr.subx6
1 files changed, 6 insertions, 0 deletions
diff --git a/subx/050write_stderr.subx b/subx/050write_stderr.subx
index d6f4784d..b595baec 100644
--- a/subx/050write_stderr.subx
+++ b/subx/050write_stderr.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
+
 write_stderr:  # s : (address array byte) -> <void>
   # prolog
   55/push-EBP
@@ -30,3 +34,5 @@ write_stderr:  # s : (address array byte) -> <void>
   89/copy                         3/mod/direct    4/rm32/ESP    .           .             .           5/r32/EBP   .               .                 # copy EBP to ESP
   5d/pop-to-EBP
   c3/return
+
+# vim:ft=subx:nowrap:tw&