From 333525360b22f3d3ea31db46a4d2f1b4edbfebdb Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 26 Aug 2019 11:55:26 -0700 Subject: 5592 - switch register names to lowercase --- html/examples/ex12.subx.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'html/examples/ex12.subx.html') diff --git a/html/examples/ex12.subx.html b/html/examples/ex12.subx.html index 0694e505..97a07ed9 100644 --- a/html/examples/ex12.subx.html +++ b/html/examples/ex12.subx.html @@ -70,16 +70,16 @@ if ('onhashchange' in window) { 13 14 Entry: 15 # syscall(mmap, 0x1000) -16 bb/copy-to-EBX Mmap-new-segment/imm32 -17 b8/copy-to-EAX 0x5a/imm32/mmap +16 bb/copy-to-ebx Mmap-new-segment/imm32 +17 b8/copy-to-eax 0x5a/imm32/mmap 18 cd/syscall 0x80/imm8 19 -20 # write to *EAX to check that we have access to the newly-allocated segment -21 c7 0/subop/copy 0/mod/direct 0/rm32/EAX . . . . . 0x34/imm32 # copy to *EAX +20 # write to *eax to check that we have access to the newly-allocated segment +21 c7 0/subop/copy 0/mod/direct 0/rm32/eax . . . . . 0x34/imm32 # copy to *eax 22 -23 # syscall(exit, EAX) -24 89/copy 3/mod/direct 3/rm32/EBX . . . 0/r32/EAX . . # copy EAX to EBX -25 b8/copy-to-EAX 1/imm32/exit +23 # syscall(exit, eax) +24 89/copy 3/mod/direct 3/rm32/ebx . . . 0/r32/eax . . # copy eax to ebx +25 b8/copy-to-eax 1/imm32/exit 26 cd/syscall 0x80/imm8 27 28 == data 0x0a000000 -- cgit 1.4.1-2-gfad0