diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-09-21 15:38:36 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-09-21 15:38:36 -0700 |
commit | bd9f6d0cd069f3504c1825c6b25c7149c13ff57a (patch) | |
tree | f997e3159943a95bf12a407b4199905e624dfc7d | |
parent | 9c50655a26712727d2b9020373967470139b90d7 (diff) | |
download | mu-bd9f6d0cd069f3504c1825c6b25c7149c13ff57a.tar.gz |
4577
-rw-r--r-- | subx/examples/ex8.subx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/examples/ex8.subx b/subx/examples/ex8.subx index 6ec8d4b0..688d7f1f 100644 --- a/subx/examples/ex8.subx +++ b/subx/examples/ex8.subx @@ -43,7 +43,7 @@ ascii_length: # (s) # initialize s (EDX) 8b/copy 1/mod/*+disp8 4/rm32/sib 4/base/ESP 4/index/none 2/r32/EDX 4/disp8 # copy *(ESP+4) to EDX # var result = 0 (EAX) - b8/copy . . . . . . . 0/imm32 # copy 1 to EAX + b8/copy . . . . . . . 0/imm32 # copy 0 to EAX $al_loop: # var c = *s (ECX) 8a/copy 0/mod/* 2/rm32/EDX . . . 1/r32/ECX . . # copy byte at *EDX to lower byte of ECX |