about summary refs log tree commit diff stats
path: root/html/linux/bootstrap/019functions.cc.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-06-26 09:20:32 -0700
committerKartik Agaram <vc@akkartik.com>2021-06-26 09:20:32 -0700
commitdc5a0acf3feea227d03a98cedf427d2aef462320 (patch)
treeee6eff6dfc02b88063b51b7d413f03a91566403f /html/linux/bootstrap/019functions.cc.html
parentf7a7db83eff079d0494ded92fd73403d23a55538 (diff)
downloadmu-dc5a0acf3feea227d03a98cedf427d2aef462320.tar.gz
.
Switch html rendering to my current colorscheme with a little less blue,
for night browsing.
Diffstat (limited to 'html/linux/bootstrap/019functions.cc.html')
-rw-r--r--html/linux/bootstrap/019functions.cc.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/html/linux/bootstrap/019functions.cc.html b/html/linux/bootstrap/019functions.cc.html
index a65bb9b8..169e701a 100644
--- a/html/linux/bootstrap/019functions.cc.html
+++ b/html/linux/bootstrap/019functions.cc.html
@@ -10,18 +10,18 @@
 <meta name="colorscheme" content="minimal-light">
 <style type="text/css">
 <!--
-pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #eeeeee; }
-body { font-size:12pt; font-family: monospace; color: #000000; background-color: #eeeeee; }
+pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; }
+body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
 a { color:inherit; }
 * { font-size:12pt; font-size: 1em; }
-.cSpecial { color: #008000; }
-.Normal { color: #000000; background-color: #eeeeee; padding-bottom: 1px; }
+.CommentedCode { color: #8a8a8a; }
 .LineNr { }
-.Constant { color: #008787; }
+.Normal { color: #000000; background-color: #ffffd7; padding-bottom: 1px; }
 .Comment { color: #005faf; }
 .Delimiter { color: #c000c0; }
-.CommentedCode { color: #8a8a8a; }
 .Identifier { color: #af5f00; }
+.Constant { color: #008787; }
+.cSpecial { color: #008000; }
 -->
 </style>
 
# To run: # $ ./subx translate init.linux examples/ex3.subx -o examples/ex3 # $ ./subx run examples/ex3 # Expected result: # $ echo $? # 55 == code # instruction effective address register displacement immediate # . op subop mod rm32 base index scale r32 # . 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 Entry: # result: ebx = 0 bb/copy-to-ebx 0/imm32 # counter: ecx = 1 b9/copy-to-ecx 1/imm32 $loop: # if (counter > 10) break 81 7/subop/compare 3/mod/direct 1/rm32/ecx . . . . . 0xa/imm32 # compare ecx 7f/jump-if-greater $exit/disp8 # result += counter 01/add 3/mod/direct 3/rm32/ebx . . . 1/r32/ecx . . # add ecx to ebx # ++counter 41/increment-ecx # loop eb/jump $loop/disp8 $exit: # exit(ebx) e8/call syscall_exit/disp32 # . . vim:nowrap:textwidth=0