From 5a9795bb661314d658afffd84059cc32e3b3b709 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 28 Dec 2018 08:56:21 -0800 Subject: 4881 --- subx/examples/ex10.subx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subx/examples/ex10.subx') diff --git a/subx/examples/ex10.subx b/subx/examples/ex10.subx index 86d7cb54..9ac6d6cb 100644 --- a/subx/examples/ex10.subx +++ b/subx/examples/ex10.subx @@ -29,7 +29,7 @@ e8/call argv-equal/disp32 # syscall(exit, EAX) 89/copy 3/mod/direct 3/rm32/EBX . . . 0/r32/EAX . . # copy EAX to EBX - b8/copy-to-EAX 1/imm32 + b8/copy-to-EAX 1/imm32/exit cd/syscall 0x80/imm8 # compare two null-terminated ascii strings -- cgit 1.4.1-2-gfad0