about summary refs log tree commit diff stats
path: root/subx/019functions.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-10-13 23:41:03 -0700
committerKartik Agaram <vc@akkartik.com>2018-10-13 23:50:10 -0700
commitdc559a00c7592469e716a2baee963987fb34d4a9 (patch)
treefa67760d2da11104d81bef71567a1bd3b6f7b760 /subx/019functions.cc
parent116e7730d7bcc79cfbb76aa24de142955fb4f281 (diff)
downloadmu-dc559a00c7592469e716a2baee963987fb34d4a9.tar.gz
4693
Add the standard mnemonic for each opcode.

We aren't ever going to have complete docs of the subset of the x86 ISA
we support, so we need to help readers cross-correlate with the complete
docs.
Diffstat (limited to 'subx/019functions.cc')
-rw-r--r--subx/019functions.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/019functions.cc b/subx/019functions.cc
index 09f4d690..a672dcfe 100644
--- a/subx/019functions.cc
+++ b/subx/019functions.cc
@@ -1,7 +1,7 @@
 //:: call
 
 :(before "End Initialize Op Names(name)")
-put(name, "e8", "call disp32");
+put(name, "e8", "call disp32 (call)");
 
 :(scenario call_disp32)
 % Reg[ESP].u = 0x64;
@@ -68,7 +68,7 @@ a0 00 00 00  # 0xa0
 //:: ret
 
 :(before "End Initialize Op Names(name)")
-put(name, "c3", "return from most recent unfinished call");
+put(name, "c3", "return from most recent unfinished call (ret)");
 
 :(scenario ret)
 % Reg[ESP].u = 0x2000;