From 68df24fa778f7f5a2651a4623681f38dc920c490 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 7 Sep 2020 16:38:14 -0700 Subject: 6746 --- html/apps/arith.mu.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'html/apps/arith.mu.html') diff --git a/html/apps/arith.mu.html b/html/apps/arith.mu.html index 6eb9bd6a..80cd7ae6 100644 --- a/html/apps/arith.mu.html +++ b/html/apps/arith.mu.html @@ -94,19 +94,19 @@ if ('onhashchange' in window) { 35 fn main -> exit-status/ebx: int { 36 var look/esi: byte <- copy 0 # lookahead 37 var n/eax: int <- copy 0 # result of each expression - 38 print-string 0, "press ctrl-c or ctrl-d to exit\n" + 38 print-string 0, "press ctrl-c or ctrl-d to exit\n" 39 # read-eval-print loop 40 { 41 # print prompt - 42 print-string 0, "> " + 42 print-string 0, "> " 43 # read and eval 44 n, look <- simplify # we explicitly thread 'look' everywhere 45 # if (look == 0) break 46 compare look, 0 47 break-if-= 48 # print - 49 print-int32-hex 0, n - 50 print-string 0, "\n" + 49 print-int32-hex 0, n + 50 print-string 0, "\n" 51 # 52 loop 53 } @@ -308,7 +308,7 @@ if ('onhashchange' in window) { 249 compare look, 0 250 { 251 break-if-!= -252 print-string 0, "^D\n" +252 print-string 0, "^D\n" 253 syscall_exit 254 } 255 } -- cgit 1.4.1-2-gfad0