From 9a77780158842db6e4aa098f5027e030fc3bd878 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 22 May 2020 23:08:09 -0700 Subject: 6384 --- html/mu-init-test.subx.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'html/mu-init-test.subx.html') diff --git a/html/mu-init-test.subx.html b/html/mu-init-test.subx.html index e0475d7b..025b5f71 100644 --- a/html/mu-init-test.subx.html +++ b/html/mu-init-test.subx.html @@ -15,10 +15,10 @@ body { font-size:12pt; font-family: monospace; color: #000000; background-color: a { color:inherit; } * { font-size:12pt; font-size: 1em; } .subxComment { color: #005faf; } +.subxFunction { color: #af5f00; text-decoration: underline; } .LineNr { } -.SpecialChar { color: #d70000; } .subxS1Comment { color: #0000af; } -.subxFunction { color: #af5f00; text-decoration: underline; } +.SpecialChar { color: #d70000; } .Constant { color: #008787; } --> @@ -58,10 +58,10 @@ if ('onhashchange' in window) { 1 # Just a test stub for mu-init.subx 2 # 3 # Try it out like this: - 4 # $ ./translate_subx init.linux 0*.subx mu-init.subx mu-init-test.subx + 4 # $ ./translate_subx init.linux [0-9]*.subx mu-init.subx mu-init-test.subx 5 # $ ./a.elf # should run all tests 6 - 7 main: # args: (address array kernel-string) -> result/ebx: int + 7 main: # args: (addr array (addr array byte)) -> result/ebx: int 8 # . prologue 9 55/push-ebp 10 89/<- %ebp 4/r32/esp @@ -72,10 +72,10 @@ if ('onhashchange' in window) { 15 8b/-> *(ebp+8) 6/r32/esi 16 { 17 # if (argc <= 1) break -18 81 7/subop/compare *esi 1/imm32 +18 81 7/subop/compare *esi 4/imm32 19 7e/jump-if-<= break/disp8 20 # if (argv[1] != "test") break -21 (kernel-string-equal? *(esi+8) "test") # => eax +21 (string-equal? *(esi+8) "test") # => eax 22 3d/compare-eax-and 0/imm32 23 74/jump-if-= break/disp8 24 # -- cgit 1.4.1-2-gfad0