diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-11-30 16:45:15 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-11-30 16:45:15 -0800 |
commit | 9d27e966b5e9bf1bd3da48f49d7e133d112a2bbe (patch) | |
tree | 31880fb6a0f7a125ccba2beb03f8d1ac51577380 /subx/053new_segment.subx | |
parent | 4cb6970d9d96d0adca78212f5f9b584499e37bb0 (diff) | |
download | mu-9d27e966b5e9bf1bd3da48f49d7e133d112a2bbe.tar.gz |
4808 - clean up comments in all subx files
Diffstat (limited to 'subx/053new_segment.subx')
-rw-r--r-- | subx/053new_segment.subx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/053new_segment.subx b/subx/053new_segment.subx index 3809eee5..25efaf94 100644 --- a/subx/053new_segment.subx +++ b/subx/053new_segment.subx @@ -14,10 +14,10 @@ # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP - # store to *EAX + # 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 - # exit(EAX) + # syscall(exit, EAX) 89/copy 3/mod/direct 3/rm32/EBX . . . 0/r32/EAX . . # copy EAX to EBX b8/copy-to-EAX 1/imm32/exit cd/syscall 0x80/imm8 |