about summary refs log tree commit diff stats
path: root/subx/ex3.subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx/ex3.subx')
-rw-r--r--subx/ex3.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/ex3.subx b/subx/ex3.subx
index 9439b3d3..2ad61edd 100644
--- a/subx/ex3.subx
+++ b/subx/ex3.subx
@@ -18,12 +18,12 @@
 
 loop:
   # while (counter <= 10)
-  81            7/subop/compare   3/mod/direct    1/rm32/ecx                                                              0xa/imm32         # compare ECX, 10/imm
+  81          7/subop/compare     3/mod/direct    1/rm32/ecx                                                              0xa/imm32         # compare ECX, 10/imm
   7f/jump-if                                                                                              exit/disp8                        # jump-if-greater exit
   # result += counter
   01/add                          3/mod/direct    3/rm32/ebx                                  1/r32/ecx                                     # add ECX to EBX
   # ++counter
-  81            0/subop/add       3/mod/direct    1/rm32/ecx                                                              1/imm32           # add 1 to ECX
+  81          0/subop/add         3/mod/direct    1/rm32/ecx                                                              1/imm32           # add 1 to ECX
   # loop
   eb/jump                                                                                                 loop/disp8                        # jump loop