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/ex6.subx.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'html/examples/ex6.subx.html') diff --git a/html/examples/ex6.subx.html b/html/examples/ex6.subx.html index 140d68c3..2de07c07 100644 --- a/html/examples/ex6.subx.html +++ b/html/examples/ex6.subx.html @@ -70,17 +70,17 @@ if ('onhashchange' in window) { 13 Entry: 14 # syscall(write, stdout, X, Size) 15 # . fd = 1 (stdout) -16 bb/copy-to-EBX 1/imm32 +16 bb/copy-to-ebx 1/imm32 17 # . initialize X (location to write result to) -18 b9/copy-to-ECX X/imm32 +18 b9/copy-to-ecx X/imm32 19 # . initialize Size -20 8b/copy 0/mod/indirect 5/rm32/.disp32 . . 2/r32/EDX Size/disp32 . # copy *Size to EDX +20 8b/copy 0/mod/indirect 5/rm32/.disp32 . . 2/r32/edx Size/disp32 . # copy *Size to edx 21 # . syscall -22 b8/copy-to-EAX 4/imm32/write +22 b8/copy-to-eax 4/imm32/write 23 cd/syscall 0x80/imm8 24 -25 # syscall(exit, EBX) -26 b8/copy-to-EAX 1/imm32/exit +25 # syscall(exit, ebx) +26 b8/copy-to-eax 1/imm32/exit 27 cd/syscall 0x80/imm8 28 29 == data 0x0a000000 -- cgit 1.4.1-2-gfad0