From ac07e589b3e912c704c2011d543f18b16712ff15 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 29 Dec 2018 15:27:18 -0800 Subject: 4890 - new html renderings a) Switch to a light background. b) Linkify calls in .subx files. c) Keep all colorization in the Vim colorscheme, get rid of hacky special-cases in update_html. --- html/subx/examples/ex3.subx.html | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) (limited to 'html/subx/examples/ex3.subx.html') diff --git a/html/subx/examples/ex3.subx.html b/html/subx/examples/ex3.subx.html index d814af53..e6ec437b 100644 --- a/html/subx/examples/ex3.subx.html +++ b/html/subx/examples/ex3.subx.html @@ -7,23 +7,18 @@ - + @@ -80,10 +75,10 @@ if ('onhashchange' in window) { 19 20 $loop: 21 # while (counter <= 10) -22 81 7/subop/compare 3/mod/direct 1/rm32/ECX . . . . . 0xa/imm32 # compare ECX +22 81 7/subop/compare 3/mod/direct 1/rm32/ECX . . . . . 0xa/imm32 # compare ECX 23 7f/jump-if-greater $exit/disp8 24 # result += counter -25 01/add 3/mod/direct 3/rm32/EBX . . . 1/r32/ECX . . # add ECX to EBX +25 01/add 3/mod/direct 3/rm32/EBX . . . 1/r32/ECX . . # add ECX to EBX 26 # ++counter 27 41/inc-ECX 28 # loop @@ -91,7 +86,7 @@ if ('onhashchange' in window) { 30 31 $exit: 32 # syscall(exit, EBX) -33 b8/copy-to-EAX 1/imm32 +33 b8/copy-to-EAX 1/imm32/exit 34 cd/syscall 0x80/imm8 35 36 # . . vim:nowrap:textwidth=0 -- cgit 1.4.1-2-gfad0