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/ex5.subx.html | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) (limited to 'html/subx/examples/ex5.subx.html') diff --git a/html/subx/examples/ex5.subx.html b/html/subx/examples/ex5.subx.html index 5364e97f..aa75d79c 100644 --- a/html/subx/examples/ex5.subx.html +++ b/html/subx/examples/ex5.subx.html @@ -7,22 +7,17 @@ - + @@ -71,13 +66,13 @@ if ('onhashchange' in window) { 11 12 # main: 13 # allocate x on the stack -14 81 5/subop/subtract 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # subtract from ESP +14 81 5/subop/subtract 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # subtract from ESP 15 16 # syscall(read, stdin, x, 1) 17 # . fd = 0 (stdin) 18 bb/copy-to-EBX 0/imm32 19 # . data = x (location to write result to) -20 8d/copy-address 1/mod/*+disp8 4/rm32/sib 4/base/ESP 4/index/none 1/r32/ECX 4/disp8 . # copy ESP+4 to ECX +20 8d/copy-address 1/mod/*+disp8 4/rm32/sib 4/base/ESP 4/index/none 1/r32/ECX 4/disp8 . # copy ESP+4 to ECX 21 # . size = 1 character 22 ba/copy-to-EDX 1/imm32 23 # . syscall @@ -88,7 +83,7 @@ if ('onhashchange' in window) { 28 # . fd = 1 (stdout) 29 bb/copy-to-EBX 1/imm32 30 # . data = x (location to read from) -31 8d/copy-address 1/mod/*+disp8 4/rm32/sib 4/base/ESP 4/index/none 1/r32/ECX 4/disp8 . # copy ESP+4 to ECX +31 8d/copy-address 1/mod/*+disp8 4/rm32/sib 4/base/ESP 4/index/none 1/r32/ECX 4/disp8 . # copy ESP+4 to ECX 32 # . size = 1 character 33 ba/copy-to-EDX 1/imm32 34 # . syscall -- cgit 1.4.1-2-gfad0