diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-12-28 21:26:42 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-12-28 21:26:42 -0800 |
commit | 431627b242d7f5f2c6b6b13876a255526383f831 (patch) | |
tree | 129b8ec45102e0fa7b6352739f916f94959c887f /subx/053new_segment.subx | |
parent | c2532c2d100ea9cadb63ae506ce2cead753c2130 (diff) | |
download | mu-431627b242d7f5f2c6b6b13876a255526383f831.tar.gz |
4886
Diffstat (limited to 'subx/053new_segment.subx')
-rw-r--r-- | subx/053new_segment.subx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |