From 3ff2fe607c2cb5690d201d3b83ddcc957e949b7a Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 9 Nov 2021 09:23:31 -0800 Subject: . --- html/linux/101_write.subx.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'html/linux/101_write.subx.html') diff --git a/html/linux/101_write.subx.html b/html/linux/101_write.subx.html index c9e0afe4..c1b5cfd5 100644 --- a/html/linux/101_write.subx.html +++ b/html/linux/101_write.subx.html @@ -15,13 +15,13 @@ body { font-size:12pt; font-family: monospace; color: #000000; background-color: a { color:inherit; } * { font-size:12pt; font-size: 1em; } .subxComment { color: #005faf; } +.subxS1Comment { color: #0000af; } .subxS2Comment { color: #8a8a8a; } .LineNr { } -.subxS1Comment { color: #0000af; } .Constant { color: #008787; } -.SpecialChar { color: #d70000; } .Normal { color: #000000; background-color: #ffffd7; padding-bottom: 1px; } .subxMinorFunction { color: #875f5f; } +.CommentedCode { color: #8a8a8a; } --> @@ -64,9 +64,9 @@ if ('onhashchange' in window) { 5 # . op subop mod rm32 base index scale r32 6 # . 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes 7 - 8 Entry: # just exit; can't test _write just yet - 9 bb/copy-to-ebx 0/imm32 -10 e8/call syscall_exit/disp32 + 8 #? Entry: # just exit; can't test _write just yet + 9 #? bb/copy-to-ebx 0/imm32 +10 #? e8/call syscall_exit/disp32 11 12 _write: # fd: int, s: (addr array byte) 13 # . prologue @@ -77,7 +77,7 @@ if ('onhashchange' in window) { 18 51/push-ecx 19 52/push-edx 20 53/push-ebx -21 # syscall(write, fd, (data) s+4, (size) *s) +21 # syscall_write(fd, (data) s+4, (size) *s) 22 # . ebx = fd 23 8b/copy 1/mod/*+disp8 5/rm32/ebp . . . 3/r32/ebx 8/disp8 . # copy *(ebp+8) to ebx 24 # . var data/ecx: (addr byte) = s+4 @@ -104,7 +104,7 @@ if ('onhashchange' in window) { 45 46 $_write:abort: 47 # can't write a message here for risk of an infinite loop, so we'll use a special exit code instead -48 # . syscall(exit, 255) +48 # . syscall_exit(255) 49 bb/copy-to-ebx 0xff/imm32 50 e8/call syscall_exit/disp32 51 # never gets here -- cgit 1.4.1-2-gfad0