From 431627b242d7f5f2c6b6b13876a255526383f831 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 28 Dec 2018 21:26:42 -0800 Subject: 4886 --- subx/053new_segment.subx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subx/053new_segment.subx') diff --git a/subx/053new_segment.subx b/subx/053new_segment.subx index 8d6cdc5f..d88abdc6 100644 --- a/subx/053new_segment.subx +++ b/subx/053new_segment.subx @@ -15,7 +15,7 @@ 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP # write to *EAX to check that we have access to the newly-allocated segment - c7/copy 0/mod/direct 0/rm32/EAX . . . . . 0x34/imm32 # copy to *EAX + c7 0/subop/copy 0/mod/direct 0/rm32/EAX . . . . . 0x34/imm32 # copy to *EAX # syscall(exit, EAX) 89/copy 3/mod/direct 3/rm32/EBX . . . 0/r32/EAX . . # copy EAX to EBX -- cgit 1.4.1-2-gfad0