From d383ba76348117ed74e077b7cf0467851c19a0ac Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 2 Oct 2018 20:58:39 -0700 Subject: 4655 --- subx/examples/ex11.subx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'subx/examples') diff --git a/subx/examples/ex11.subx b/subx/examples/ex11.subx index 46a6c1ea..c53f8bd3 100644 --- a/subx/examples/ex11.subx +++ b/subx/examples/ex11.subx @@ -315,10 +315,10 @@ write_stderr: # s : (address array byte) -> # fd = 2 (stderr) bb/copy . . . . . . . 2/imm32 # copy to EBX # x = s+4 - 8b/copy 1/mod/*+disp8 4/rm32/SIB 5/base/EBP 4/index/none . 1/r32/ECX 8/disp8 . # copy *(EBP+8) to ECX + 8b/copy 1/mod/*+disp8 4/rm32/sib 5/base/EBP 4/index/none . 1/r32/ECX 8/disp8 . # copy *(EBP+8) to ECX 81 0/subop/add 3/mod/direct 1/rm32/ECX . . . . . 4/imm32 # add to ECX # size = *s - 8b/copy 1/mod/*+disp8 4/rm32/SIB 5/base/EBP 4/index/none . 2/r32/EDX 8/disp8 . # copy *(EBP+8) to EDX + 8b/copy 1/mod/*+disp8 4/rm32/sib 5/base/EBP 4/index/none . 2/r32/EDX 8/disp8 . # copy *(EBP+8) to EDX 8b/copy 0/mod/indirect 2/rm32/EDX . . . 2/r32/EDX . . # copy *EDX to EDX # call write() b8/copy . . . . . . . 4/imm32/write # copy to EAX -- cgit 1.4.1-2-gfad0