about summary refs log tree commit diff stats
path: root/subx/examples/ex9.subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx/examples/ex9.subx')
-rw-r--r--subx/examples/ex9.subx3
1 files changed, 3 insertions, 0 deletions
diff --git a/subx/examples/ex9.subx b/subx/examples/ex9.subx
index 344c62ae..e3318b05 100644
--- a/subx/examples/ex9.subx
+++ b/subx/examples/ex9.subx
@@ -22,6 +22,7 @@
 # . 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
 
+Entry:
     # . prolog
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
     # ascii-difference(argv[1], argv[2])
@@ -49,4 +50,6 @@ ascii-difference:  # (s1, s2) : null-terminated ascii strings
     29/subtract                     3/mod/direct    0/rm32/EAX    .           .             .           1/r32/ECX   .               .                 # subtract ECX from EAX
     c3/return
 
+== data 0x0a000000
+
 # . . vim:nowrap:textwidth=0