From ec73ed1230d75deb0f913a32617c9f1e0a5ca640 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 10 Jul 2020 23:44:10 -0700 Subject: 6631 --- html/apps/factorial4.subx.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'html/apps/factorial4.subx.html') diff --git a/html/apps/factorial4.subx.html b/html/apps/factorial4.subx.html index 4886a698..df467f04 100644 --- a/html/apps/factorial4.subx.html +++ b/html/apps/factorial4.subx.html @@ -84,7 +84,7 @@ if ('onhashchange' in window) { 25 89/<- %ebp 4/r32/esp 26 27 # initialize heap -28 (new-segment *Heap-size Heap) +28 (new-segment *Heap-size Heap) 29 30 # - if argc > 1, then return run_tests() 31 { @@ -92,13 +92,13 @@ if ('onhashchange' in window) { 33 81 7/subop/compare *ebp 1/imm32 34 7e/jump-if-<= break/disp8 35 # if (!kernel-string-equal?(argv[1], "test")) break -36 (kernel-string-equal? *(ebp+8) "test") # => eax +36 (kernel-string-equal? *(ebp+8) "test") # => eax 37 3d/compare-eax-and 0/imm32/false 38 74/jump-if-= break/disp8 39 # 40 (run-tests) 41 # eax = *Num-test-failures -42 8b/-> *Num-test-failures 3/r32/ebx +42 8b/-> *Num-test-failures 3/r32/ebx 43 } 44 # if (argc <= 1) factorial(5) 45 { @@ -143,7 +143,7 @@ if ('onhashchange' in window) { 84 85 test-factorial: 86 (factorial 5) -87 (check-ints-equal %eax 0x78 "F - test-factorial") +87 (check-ints-equal %eax 0x78 "F - test-factorial") 88 c3/return -- cgit 1.4.1-2-gfad0