From 3c4201013a47b5f25d3f9774103e0a1d2dc86f1e Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 16 Apr 2019 22:43:17 -0700 Subject: 5102 --- subx/examples/ex10.subx | 2 +- subx/examples/ex11.subx | 4 ++-- subx/examples/ex2.subx | 2 +- subx/examples/ex8.subx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'subx/examples') diff --git a/subx/examples/ex10.subx b/subx/examples/ex10.subx index 842ff28b..53148464 100644 --- a/subx/examples/ex10.subx +++ b/subx/examples/ex10.subx @@ -52,7 +52,7 @@ $argv-equal:loop: 75/jump-if-not-equal $argv-equal:false/disp8 # ++s1, ++s2 41/increment-ECX - 42/inc-EDX + 42/increment-EDX # end while eb/jump $argv-equal:loop/disp8 $argv-equal:break: diff --git a/subx/examples/ex11.subx b/subx/examples/ex11.subx index 4ed4673d..78bcf5c9 100644 --- a/subx/examples/ex11.subx +++ b/subx/examples/ex11.subx @@ -88,9 +88,9 @@ $kernel-string-equal?:loop: # ++i 41/increment-ECX # ++s1 - 47/inc-EDI + 47/increment-EDI # ++s2 - 46/inc-ESI + 46/increment-ESI eb/jump $kernel-string-equal?:loop/disp8 $kernel-string-equal?:break: # return *s1 == 0 diff --git a/subx/examples/ex2.subx b/subx/examples/ex2.subx index 4288b419..757c5220 100644 --- a/subx/examples/ex2.subx +++ b/subx/examples/ex2.subx @@ -12,7 +12,7 @@ # EBX = 1 bb/copy-to-EBX 1/imm32 # increment EBX -43/inc-EBX +43/increment-EBX # syscall(exit, EBX) b8/copy-to-EAX 1/imm32/exit cd/syscall 0x80/imm8 diff --git a/subx/examples/ex8.subx b/subx/examples/ex8.subx index fa1bb6e7..d31786da 100644 --- a/subx/examples/ex8.subx +++ b/subx/examples/ex8.subx @@ -48,7 +48,7 @@ $ascii-length:loop: # ++s 42/increment-EDX # ++result - 40/inc-EAX + 40/increment-EAX # loop eb/jump $ascii-length:loop/disp8 $ascii-length:end: -- cgit 1.4.1-2-gfad0 lass='right' method='get' action='/akspecs/ranger/log/doc/pydoc/test.tc_history.html'>
path: root/doc/pydoc/test.tc_history.html
blob: 59b42a9bee48b0300e28de46c06109450a08b36b (plain) (tree)