diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-04-11 18:58:16 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-04-11 18:58:16 -0700 |
commit | 61b8fe6b18c6314268ed24d79bf99de6f55be63b (patch) | |
tree | 20a0253461051fcd63f9dec163e3238277048da2 /subx/examples | |
parent | 1102191c662ea548fd49c15c30a18a4f5ff8df5c (diff) | |
download | mu-61b8fe6b18c6314268ed24d79bf99de6f55be63b.tar.gz |
5084
Diffstat (limited to 'subx/examples')
-rw-r--r-- | subx/examples/ex10.subx | 2 | ||||
-rw-r--r-- | subx/examples/ex11.subx | 2 | ||||
-rw-r--r-- | subx/examples/ex3.subx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/subx/examples/ex10.subx b/subx/examples/ex10.subx index f68f1afd..842ff28b 100644 --- a/subx/examples/ex10.subx +++ b/subx/examples/ex10.subx @@ -51,7 +51,7 @@ $argv-equal:loop: 39/compare 3/mod/direct 0/rm32/EAX . . . 3/r32/EBX . . # compare EAX and EBX 75/jump-if-not-equal $argv-equal:false/disp8 # ++s1, ++s2 - 41/inc-ECX + 41/increment-ECX 42/inc-EDX # end while eb/jump $argv-equal:loop/disp8 diff --git a/subx/examples/ex11.subx b/subx/examples/ex11.subx index e07d0f90..4ed4673d 100644 --- a/subx/examples/ex11.subx +++ b/subx/examples/ex11.subx @@ -86,7 +86,7 @@ $kernel-string-equal?:loop: 39/compare 3/mod/direct 0/rm32/EAX . . . 3/r32/EBX . . # compare EAX and EBX 75/jump-if-not-equal $kernel-string-equal?:false/disp8 # ++i - 41/inc-ECX + 41/increment-ECX # ++s1 47/inc-EDI # ++s2 diff --git a/subx/examples/ex3.subx b/subx/examples/ex3.subx index 6a4f7b01..f7352b2f 100644 --- a/subx/examples/ex3.subx +++ b/subx/examples/ex3.subx @@ -24,7 +24,7 @@ $loop: # result += counter 01/add 3/mod/direct 3/rm32/EBX . . . 1/r32/ECX . . # add ECX to EBX # ++counter - 41/inc-ECX + 41/increment-ECX # loop eb/jump $loop/disp8 |