===: main c{0: 0 (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal) (capacity))) -- nil c{0: 1 (((stdin channel-address)) <- ((init-channel)) ((1 literal))) -- nil c{0: 2 (((dummy terminal-address)) <- ((init-fake-terminal)) ((20 literal)) ((10 literal))) -- nil c{0: 3 (((r integer) (routine)) <- ((fork-helper)) ((read-rank fn)) ((nil literal) (globals)) ((2000 literal) (limit)) ((stdin channel-address)) ((dummy terminal-address))) -- nil c{0: 4 (((c character)) <- ((copy)) ((9 literal))) -- nil c{0: 5 (((x tagged-value)) <- ((save-type)) ((c character))) -- nil c{0: 6 (((stdin channel-address) (deref)) <- ((write)) ((stdin channel-address)) ((x tagged-value))) -- nil c{0: 7 (((sleep)) ((until-routine-done literal)) ((r integer) (routine))) -- nil c{1: 0 ✓ (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal) (capacity))) c{1: 1 ✓ (((stdin channel-address)) <- ((init-channel)) ((1 literal))) c{1: 2 ✓ (((dummy terminal-address)) <- ((init-fake-terminal)) ((20 literal)) ((10 literal))) c{1: 3 ✓ (((r integer) (routine)) <- ((fork-helper)) ((read-rank fn)) ((nil literal) (globals)) ((2000 literal) (limit)) ((stdin channel-address)) ((dummy terminal-address))) c{1: 4 ✓ (((c character)) <- ((copy)) ((9 literal))) c{1: 5 ✓ (((x tagged-value)) <- ((save-type)) ((c character))) c{1: 6 ✓ (((stdin channel-address) (deref)) <- ((write)) ((stdin channel-address)) ((x tagged-value))) c{1: 7 ✓ (((sleep)) ((until-routine-done literal)) ((r integer) (routine))) cn0: convert-names in main cn0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal) (capacity))) nil nil cn0: checking arg ((space literal)) cn0: checking arg ((30 literal) (capacity)) cn0: checking oarg ((default-space space-address)) maybe-add: ((default-space space-address)) cn0: (((stdin channel-address)) <- ((init-channel)) ((1 literal))) nil nil cn0: checking arg ((1 literal)) cn0: checking oarg ((stdin channel-address)) maybe-add: ((stdin channel-address)) cn0: location for oarg ((stdin channel-address)): 1 cn0: (((dummy terminal-address)) <- ((init-fake-terminal)) ((20 literal)) ((10 literal))) ((stdin 1)) nil cn0: checking arg ((20 literal)) cn0: checking arg ((10 literal)) cn0: checking oarg ((dummy terminal-address)) maybe-add: ((dummy terminal-address)) cn0: location for oarg ((dummy terminal-address)): 2 cn0: (((r integer) (routine)) <- ((fork-helper)) ((read-rank fn)) ((nil literal) (globals)) ((2000 literal) (limit)) ((stdin channel-address)) ((dummy terminal-address))) ((dummy 2) (stdin 1)) nil cn0: checking arg ((read-rank fn)) cn0: checking arg ((nil literal) (globals)) cn0: checking arg ((2000 literal) (limit)) cn0: checking arg ((stdin channel-address)) maybe-add: ((stdin channel-address)) cn0: checking arg ((dummy terminal-address)) maybe-add: ((dummy terminal-address)) cn0: checking oarg ((r integer) (routine)) maybe-add: ((r integer) (routine)) cn0: location for oarg ((r integer) (routine)): 3 cn0: (((c character)) <- ((copy)) ((9 literal))) ((dummy 2) (r 3) (stdin 1)) nil cn0: checking arg ((9 literal)) cn0: checking oarg ((c character)) maybe-add: ((c character)) cn0: location for oarg ((c character)): 4 cn0: (((x tagged-value)) <- ((save-type)) ((c character))) ((c 4) (dummy 2) (r 3) (stdin 1)) nil cn0: checking arg ((c character)) maybe-add: ((c character)) cn0: checking oarg ((x tagged-value)) maybe-add: ((x tagged-value)) cn0: location for oarg ((x tagged-value)): 5 cn0: (((stdin channel-address) (deref)) <- ((write)) ((stdin channel-address)) ((x tagged-value))) ((c 4) (dummy 2) (r 3) (stdin 1) (x 5)) nil cn0: checking arg ((stdin channel-address)) maybe-add: ((stdin channel-address)) cn0: checking arg ((x tagged-value)) maybe-add: ((x tagged-value)) cn0: checking oarg ((stdin channel-address) (deref)) maybe-add: ((stdin channel-address) (deref)) cn0: (((sleep)) ((until-routine-done literal)) ((r integer) (routine))) ((c 4) (dummy 2) (r 3) (stdin 1) (x 5)) nil cn0: checking arg ((until-routine-done literal)) cn0: checking arg ((r integer) (routine)) maybe-add: ((r integer) (routine)) cn1: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal) (capacity))) cn1: (((1 channel-address)) <- ((init-channel)) ((1 literal))) cn1: (((2 terminal-address)) <- ((init-fake-terminal)) ((20 literal)) ((10 literal))) cn1: (((3 integer) (routine)) <- ((fork-helper)) ((read-rank fn)) ((nil literal) (globals)) ((2000 literal) (limit)) ((1 channel-address)) ((2 terminal-address))) cn1: (((4 character)) <- ((copy)) ((9 literal))) cn1: (((5 tagged-value)) <- ((save-type)) ((4 character))) cn1: (((1 channel-address) (deref)) <- ((write)) ((1 channel-address)) ((5 tagged-value))) cn1: (((sleep)) ((until-routine-done literal)) ((3 integer) (routine))) schedule: main run: main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal) (capacity))) run: main 0: 1000 => ((default-space space-address)) run: main 1: (((1 channel-address)) <- ((init-channel)) ((1 literal))) run: init-channel/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal))) run: init-channel/main 0: 1031 => ((default-space space-address)) run: init-channel/main 1: (((1 channel-address)) <- ((new)) ((channel literal))) run: init-channel/main 1: 1062 => ((1 channel-address)) mem: ((1 channel-address)): 1033 <= 1062 run: init-channel/main 2: (((2 integer-address)) <- ((get-address)) ((1 channel-address) (deref)) ((0 offset))) run: init-channel/main 2: 1062 => ((2 integer-address)) mem: ((2 integer-address)): 1034 <= 1062 run: init-channel/main 3: (((2 integer-address) (deref)) <- ((copy)) ((0 literal))) run: init-channel/main 3: 0 => ((2 integer-address) (deref)) mem: ((2 integer-address) (deref)): 1062 <= 0 run: init-channel/main 4: (((3 integer-address)) <- ((get-address)) ((1 channel-address) (deref)) ((1 offset))) run: init-channel/main 4: 1063 => ((3 integer-address)) mem: ((3 integer-address)): 1035 <= 1063 run: init-channel/main 5: (((3 integer-address) (deref)) <- ((copy)) ((0 literal))) run: init-channel/main 5: 0 => ((3 integer-address) (deref)) mem: ((3 integer-address) (deref)): 1063 <= 0 run: init-channel/main 6: (((4 integer)) <- ((next-input))) arg: nil 0 (1) run: init-channel/main 6: 1 => ((4 integer)) mem: ((4 integer)): 1036 <= 1 run: init-channel/main 7: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 1 run: init-channel/main 7: 2 => ((4 integer)) mem: ((4 integer)): 1036 <= 2 run: init-channel/main 8: (((5 tagged-value-array-address-address)) <- ((get-address)) ((1 channel-address) (deref)) ((2 offset))) run: init-channel/main 8: 1064 => ((5 tagged-value-array-address-address)) mem: ((5 tagged-value-array-address-address)): 1037 <= 1064 run: init-channel/main 9: (((5 tagged-value-array-address-address) (deref)) <- ((new)) ((tagged-value-array literal)) ((4 integer))) mem: ((4 integer)) => 2 run: init-channel/main 9: 1065 => ((5 tagged-value-array-address-address) (deref)) mem: ((5 tagged-value-array-address-address) (deref)): 1064 <= 1065 run: init-channel/main 10: (((reply)) ((1 channel-address))) mem: ((1 channel-address)) => 1062 run: main 1: 1062 => ((1 channel-address)) mem: ((1 channel-address)): 1002 <= 1062 run: main 2: (((2 terminal-address)) <- ((init-fake-terminal)) ((20 literal)) ((10 literal))) run: init-fake-terminal/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal) (capacity))) run: init-fake-terminal/main 0: 1070 => ((default-space space-address)) run: init-fake-terminal/main 1: (((1 terminal-address)) <- ((new)) ((terminal literal))) run: init-fake-terminal/main 1: 1101 => ((1 terminal-address)) mem: ((1 terminal-address)): 1072 <= 1101 run: init-fake-terminal/main 2: (((2 integer-address)) <- ((get-address)) ((1 terminal-address) (deref)) ((1 offset))) run: init-fake-terminal/main 2: 1102 => ((2 integer-address)) mem: ((2 integer-address)): 1073 <= 1102 run: init-fake-terminal/main 3: (((2 integer-address) (deref)) <- ((next-input))) arg: nil 0 (20 10) run: init-fake-terminal/main 3: 20 => ((2 integer-address) (deref)) mem: ((2 integer-address) (deref)): 1102 <= 20 run: init-fake-terminal/main 4: (((3 integer-address)) <- ((get-address)) ((1 terminal-address) (deref)) ((0 offset))) run: init-fake-terminal/main 4: 1101 => ((3 integer-address)) mem: ((3 integer-address)): 1074 <= 1101 run: init-fake-terminal/main 5: (((3 integer-address) (deref)) <- ((next-input))) arg: nil 1 (20 10) run: init-fake-terminal/main 5: 10 => ((3 integer-address) (deref)) mem: ((3 integer-address) (deref)): 1101 <= 10 run: init-fake-terminal/main 6: (((4 integer-address)) <- ((get-address)) ((1 terminal-address) (deref)) ((2 offset))) run: init-fake-terminal/main 6: 1103 => ((4 integer-address)) mem: ((4 integer-address)): 1075 <= 1103 run: init-fake-terminal/main 7: (((4 integer-address) (deref)) <- ((copy)) ((0 literal))) run: init-fake-terminal/main 7: 0 => ((4 integer-address) (deref)) mem: ((4 integer-address) (deref)): 1103 <= 0 run: init-fake-terminal/main 8: (((5 integer-address)) <- ((get-address)) ((1 terminal-address) (deref)) ((3 offset))) run: init-fake-terminal/main 8: 1104 => ((5 integer-address)) mem: ((5 integer-address)): 1076 <= 1104 run: init-fake-terminal/main 9: (((5 integer-address) (deref)) <- ((copy)) ((0 literal))) run: init-fake-terminal/main 9: 0 => ((5 integer-address) (deref)) mem: ((5 integer-address) (deref)): 1104 <= 0 run: init-fake-terminal/main 10: (((6 integer)) <- ((multiply)) ((2 integer-address) (deref)) ((3 integer-address) (deref))) mem: ((2 integer-address) (deref)) => 20 mem: ((3 integer-address) (deref)) => 10 run: init-fake-terminal/main 10: 200 => ((6 integer)) mem: ((6 integer)): 1077 <= 200 run: init-fake-terminal/main 11: (((7 string-address-address)) <- ((get-address)) ((1 terminal-address) (deref)) ((4 offset))) run: init-fake-terminal/main 11: 1105 => ((7 string-address-address)) mem: ((7 string-address-address)): 1078 <= 1105 run: init-fake-terminal/main 12: (((7 string-address-address) (deref)) <- ((new)) ((string literal)) ((6 integer))) mem: ((6 integer)) => 200 run: init-fake-terminal/main 12: 1106 => ((7 string-address-address) (deref)) mem: ((7 string-address-address) (deref)): 1105 <= 1106 run: init-fake-terminal/main 13: (((clear-screen)) ((1 terminal-address))) mem: ((1 terminal-address)) => 1101 run: clear-screen/init-fake-terminal/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal))) run: clear-screen/init-fake-terminal/main 0: 1307 => ((default-space space-address)) run: clear-screen/init-fake-terminal/main 1: (((1 terminal-address)) <- ((next-input))) arg: nil 0 (1101) run: clear-screen/init-fake-terminal/main 1: 1101 => ((1 terminal-address)) mem: ((1 terminal-address)): 1309 <= 1101 run: clear-screen/init-fake-terminal/main 2: (((jump-unless)) ((1 terminal-address)) ((10 offset))) mem: ((1 terminal-address)) => 1101 run: clear-screen/init-fake-terminal/main 3: (((2 string-address)) <- ((get)) ((1 terminal-address) (deref)) ((4 offset))) mem: ((1105 string-address) (raw)) => 1106 run: clear-screen/init-fake-terminal/main 3: 1106 => ((2 string-address)) mem: ((2 string-address)): 1310 <= 1106 run: clear-screen/init-fake-terminal/main 4: (((3 integer)) <- ((length)) ((2 string-address) (deref))) array-len: ((2 string-address) (deref)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 4: 200 => ((3 integer)) mem: ((3 integer)): 1311 <= 200 run: clear-screen/init-fake-terminal/main 5: (((4 integer)) <- ((copy)) ((0 literal))) run: clear-screen/init-fake-terminal/main 5: 0 => ((4 integer)) mem: ((4 integer)): 1312 <= 0 run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 0 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 0 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1107 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1107 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1107 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 0 run: clear-screen/init-fake-terminal/main 10: 1 => ((4 integer)) mem: ((4 integer)): 1312 <= 1 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 1 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 1 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1108 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1108 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1108 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 1 run: clear-screen/init-fake-terminal/main 10: 2 => ((4 integer)) mem: ((4 integer)): 1312 <= 2 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 2 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 2 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1109 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1109 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1109 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 2 run: clear-screen/init-fake-terminal/main 10: 3 => ((4 integer)) mem: ((4 integer)): 1312 <= 3 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 3 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 3 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1110 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1110 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1110 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 3 run: clear-screen/init-fake-terminal/main 10: 4 => ((4 integer)) mem: ((4 integer)): 1312 <= 4 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 4 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 4 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1111 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1111 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1111 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 4 run: clear-screen/init-fake-terminal/main 10: 5 => ((4 integer)) mem: ((4 integer)): 1312 <= 5 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 5 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 5 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1112 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1112 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1112 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 5 run: clear-screen/init-fake-terminal/main 10: 6 => ((4 integer)) mem: ((4 integer)): 1312 <= 6 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 6 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 6 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1113 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1113 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1113 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 6 run: clear-screen/init-fake-terminal/main 10: 7 => ((4 integer)) mem: ((4 integer)): 1312 <= 7 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 7 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 7 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1114 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1114 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1114 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 7 run: clear-screen/init-fake-terminal/main 10: 8 => ((4 integer)) mem: ((4 integer)): 1312 <= 8 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 8 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 8 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1115 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1115 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1115 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 8 run: clear-screen/init-fake-terminal/main 10: 9 => ((4 integer)) mem: ((4 integer)): 1312 <= 9 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 9 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 9 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1116 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1116 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1116 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 9 run: clear-screen/init-fake-terminal/main 10: 10 => ((4 integer)) mem: ((4 integer)): 1312 <= 10 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 10 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 10 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1117 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1117 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1117 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 10 run: clear-screen/init-fake-terminal/main 10: 11 => ((4 integer)) mem: ((4 integer)): 1312 <= 11 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 11 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 11 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1118 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1118 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1118 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 11 run: clear-screen/init-fake-terminal/main 10: 12 => ((4 integer)) mem: ((4 integer)): 1312 <= 12 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 12 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 12 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1119 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1119 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1119 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 12 run: clear-screen/init-fake-terminal/main 10: 13 => ((4 integer)) mem: ((4 integer)): 1312 <= 13 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 13 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 13 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1120 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1120 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1120 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 13 run: clear-screen/init-fake-terminal/main 10: 14 => ((4 integer)) mem: ((4 integer)): 1312 <= 14 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 14 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 14 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1121 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1121 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1121 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 14 run: clear-screen/init-fake-terminal/main 10: 15 => ((4 integer)) mem: ((4 integer)): 1312 <= 15 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 15 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 15 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1122 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1122 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1122 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 15 run: clear-screen/init-fake-terminal/main 10: 16 => ((4 integer)) mem: ((4 integer)): 1312 <= 16 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 16 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 16 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1123 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1123 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1123 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 16 run: clear-screen/init-fake-terminal/main 10: 17 => ((4 integer)) mem: ((4 integer)): 1312 <= 17 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 17 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 17 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1124 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1124 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1124 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 17 run: clear-screen/init-fake-terminal/main 10: 18 => ((4 integer)) mem: ((4 integer)): 1312 <= 18 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 18 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 18 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1125 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1125 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1125 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 18 run: clear-screen/init-fake-terminal/main 10: 19 => ((4 integer)) mem: ((4 integer)): 1312 <= 19 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 19 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 19 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1126 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1126 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1126 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 19 run: clear-screen/init-fake-terminal/main 10: 20 => ((4 integer)) mem: ((4 integer)): 1312 <= 20 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 20 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 20 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1127 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1127 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1127 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 20 run: clear-screen/init-fake-terminal/main 10: 21 => ((4 integer)) mem: ((4 integer)): 1312 <= 21 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 21 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 21 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1128 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1128 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1128 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 21 run: clear-screen/init-fake-terminal/main 10: 22 => ((4 integer)) mem: ((4 integer)): 1312 <= 22 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 22 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 22 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1129 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1129 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1129 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 22 run: clear-screen/init-fake-terminal/main 10: 23 => ((4 integer)) mem: ((4 integer)): 1312 <= 23 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 23 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 23 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1130 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1130 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1130 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 23 run: clear-screen/init-fake-terminal/main 10: 24 => ((4 integer)) mem: ((4 integer)): 1312 <= 24 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 24 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 24 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1131 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1131 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1131 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 24 run: clear-screen/init-fake-terminal/main 10: 25 => ((4 integer)) mem: ((4 integer)): 1312 <= 25 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 25 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 25 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1132 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1132 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1132 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 25 run: clear-screen/init-fake-terminal/main 10: 26 => ((4 integer)) mem: ((4 integer)): 1312 <= 26 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 26 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 26 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1133 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1133 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1133 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 26 run: clear-screen/init-fake-terminal/main 10: 27 => ((4 integer)) mem: ((4 integer)): 1312 <= 27 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 27 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 27 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1134 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1134 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1134 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 27 run: clear-screen/init-fake-terminal/main 10: 28 => ((4 integer)) mem: ((4 integer)): 1312 <= 28 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 28 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 28 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1135 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1135 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1135 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 28 run: clear-screen/init-fake-terminal/main 10: 29 => ((4 integer)) mem: ((4 integer)): 1312 <= 29 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 29 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 29 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1136 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1136 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1136 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 29 run: clear-screen/init-fake-terminal/main 10: 30 => ((4 integer)) mem: ((4 integer)): 1312 <= 30 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 30 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 30 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1137 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1137 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1137 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 30 run: clear-screen/init-fake-terminal/main 10: 31 => ((4 integer)) mem: ((4 integer)): 1312 <= 31 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 31 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 31 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1138 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1138 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1138 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 31 run: clear-screen/init-fake-terminal/main 10: 32 => ((4 integer)) mem: ((4 integer)): 1312 <= 32 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 32 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 32 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1139 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1139 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1139 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 32 run: clear-screen/init-fake-terminal/main 10: 33 => ((4 integer)) mem: ((4 integer)): 1312 <= 33 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 33 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 33 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1140 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1140 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1140 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 33 run: clear-screen/init-fake-terminal/main 10: 34 => ((4 integer)) mem: ((4 integer)): 1312 <= 34 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 34 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 34 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1141 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1141 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1141 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 34 run: clear-screen/init-fake-terminal/main 10: 35 => ((4 integer)) mem: ((4 integer)): 1312 <= 35 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 35 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 35 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1142 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1142 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1142 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 35 run: clear-screen/init-fake-terminal/main 10: 36 => ((4 integer)) mem: ((4 integer)): 1312 <= 36 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 36 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 36 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1143 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1143 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1143 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 36 run: clear-screen/init-fake-terminal/main 10: 37 => ((4 integer)) mem: ((4 integer)): 1312 <= 37 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 37 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 37 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1144 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1144 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1144 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 37 run: clear-screen/init-fake-terminal/main 10: 38 => ((4 integer)) mem: ((4 integer)): 1312 <= 38 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 38 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 38 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1145 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1145 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1145 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 38 run: clear-screen/init-fake-terminal/main 10: 39 => ((4 integer)) mem: ((4 integer)): 1312 <= 39 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 39 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 39 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1146 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1146 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1146 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 39 run: clear-screen/init-fake-terminal/main 10: 40 => ((4 integer)) mem: ((4 integer)): 1312 <= 40 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 40 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 40 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1147 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1147 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1147 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 40 run: clear-screen/init-fake-terminal/main 10: 41 => ((4 integer)) mem: ((4 integer)): 1312 <= 41 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 41 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 41 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1148 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1148 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1148 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 41 run: clear-screen/init-fake-terminal/main 10: 42 => ((4 integer)) mem: ((4 integer)): 1312 <= 42 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 42 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 42 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1149 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1149 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1149 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 42 run: clear-screen/init-fake-terminal/main 10: 43 => ((4 integer)) mem: ((4 integer)): 1312 <= 43 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 43 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 43 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1150 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1150 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1150 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 43 run: clear-screen/init-fake-terminal/main 10: 44 => ((4 integer)) mem: ((4 integer)): 1312 <= 44 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 44 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 44 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1151 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1151 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1151 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 44 run: clear-screen/init-fake-terminal/main 10: 45 => ((4 integer)) mem: ((4 integer)): 1312 <= 45 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 45 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 45 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1152 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1152 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1152 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 45 run: clear-screen/init-fake-terminal/main 10: 46 => ((4 integer)) mem: ((4 integer)): 1312 <= 46 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 46 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 46 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1153 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1153 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1153 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 46 run: clear-screen/init-fake-terminal/main 10: 47 => ((4 integer)) mem: ((4 integer)): 1312 <= 47 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 47 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 47 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1154 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1154 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1154 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 47 run: clear-screen/init-fake-terminal/main 10: 48 => ((4 integer)) mem: ((4 integer)): 1312 <= 48 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 48 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 48 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1155 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1155 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1155 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 48 run: clear-screen/init-fake-terminal/main 10: 49 => ((4 integer)) mem: ((4 integer)): 1312 <= 49 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 49 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 49 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1156 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1156 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1156 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 49 run: clear-screen/init-fake-terminal/main 10: 50 => ((4 integer)) mem: ((4 integer)): 1312 <= 50 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 50 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 50 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1157 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1157 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1157 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 50 run: clear-screen/init-fake-terminal/main 10: 51 => ((4 integer)) mem: ((4 integer)): 1312 <= 51 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 51 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 51 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1158 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1158 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1158 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 51 run: clear-screen/init-fake-terminal/main 10: 52 => ((4 integer)) mem: ((4 integer)): 1312 <= 52 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 52 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 52 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1159 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1159 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1159 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 52 run: clear-screen/init-fake-terminal/main 10: 53 => ((4 integer)) mem: ((4 integer)): 1312 <= 53 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 53 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 53 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1160 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1160 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1160 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 53 run: clear-screen/init-fake-terminal/main 10: 54 => ((4 integer)) mem: ((4 integer)): 1312 <= 54 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 54 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 54 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1161 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1161 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1161 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 54 run: clear-screen/init-fake-terminal/main 10: 55 => ((4 integer)) mem: ((4 integer)): 1312 <= 55 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 55 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 55 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1162 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1162 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1162 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 55 run: clear-screen/init-fake-terminal/main 10: 56 => ((4 integer)) mem: ((4 integer)): 1312 <= 56 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 56 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 56 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1163 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1163 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1163 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 56 run: clear-screen/init-fake-terminal/main 10: 57 => ((4 integer)) mem: ((4 integer)): 1312 <= 57 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 57 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 57 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1164 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1164 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1164 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 57 run: clear-screen/init-fake-terminal/main 10: 58 => ((4 integer)) mem: ((4 integer)): 1312 <= 58 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 58 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 58 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1165 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1165 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1165 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 58 run: clear-screen/init-fake-terminal/main 10: 59 => ((4 integer)) mem: ((4 integer)): 1312 <= 59 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 59 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 59 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1166 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1166 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1166 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 59 run: clear-screen/init-fake-terminal/main 10: 60 => ((4 integer)) mem: ((4 integer)): 1312 <= 60 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 60 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 60 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1167 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1167 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1167 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 60 run: clear-screen/init-fake-terminal/main 10: 61 => ((4 integer)) mem: ((4 integer)): 1312 <= 61 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 61 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 61 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1168 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1168 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1168 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 61 run: clear-screen/init-fake-terminal/main 10: 62 => ((4 integer)) mem: ((4 integer)): 1312 <= 62 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 62 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 62 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1169 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1169 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1169 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 62 run: clear-screen/init-fake-terminal/main 10: 63 => ((4 integer)) mem: ((4 integer)): 1312 <= 63 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 63 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 63 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1170 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1170 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1170 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 63 run: clear-screen/init-fake-terminal/main 10: 64 => ((4 integer)) mem: ((4 integer)): 1312 <= 64 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 64 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 64 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1171 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1171 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1171 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 64 run: clear-screen/init-fake-terminal/main 10: 65 => ((4 integer)) mem: ((4 integer)): 1312 <= 65 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 65 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 65 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1172 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1172 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1172 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 65 run: clear-screen/init-fake-terminal/main 10: 66 => ((4 integer)) mem: ((4 integer)): 1312 <= 66 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 66 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 66 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1173 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1173 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1173 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 66 run: clear-screen/init-fake-terminal/main 10: 67 => ((4 integer)) mem: ((4 integer)): 1312 <= 67 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 67 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 67 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1174 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1174 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1174 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 67 run: clear-screen/init-fake-terminal/main 10: 68 => ((4 integer)) mem: ((4 integer)): 1312 <= 68 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 68 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 68 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1175 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1175 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1175 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 68 run: clear-screen/init-fake-terminal/main 10: 69 => ((4 integer)) mem: ((4 integer)): 1312 <= 69 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 69 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 69 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1176 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1176 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1176 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 69 run: clear-screen/init-fake-terminal/main 10: 70 => ((4 integer)) mem: ((4 integer)): 1312 <= 70 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 70 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 70 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1177 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1177 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1177 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 70 run: clear-screen/init-fake-terminal/main 10: 71 => ((4 integer)) mem: ((4 integer)): 1312 <= 71 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 71 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 71 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1178 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1178 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1178 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 71 run: clear-screen/init-fake-terminal/main 10: 72 => ((4 integer)) mem: ((4 integer)): 1312 <= 72 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 72 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 72 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1179 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1179 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1179 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 72 run: clear-screen/init-fake-terminal/main 10: 73 => ((4 integer)) mem: ((4 integer)): 1312 <= 73 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 73 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 73 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1180 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1180 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1180 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 73 run: clear-screen/init-fake-terminal/main 10: 74 => ((4 integer)) mem: ((4 integer)): 1312 <= 74 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 74 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 74 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1181 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1181 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1181 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 74 run: clear-screen/init-fake-terminal/main 10: 75 => ((4 integer)) mem: ((4 integer)): 1312 <= 75 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 75 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 75 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1182 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1182 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1182 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 75 run: clear-screen/init-fake-terminal/main 10: 76 => ((4 integer)) mem: ((4 integer)): 1312 <= 76 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 76 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 76 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1183 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1183 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1183 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 76 run: clear-screen/init-fake-terminal/main 10: 77 => ((4 integer)) mem: ((4 integer)): 1312 <= 77 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 77 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 77 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1184 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1184 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1184 <= #\space schedule: scheduling clear-screen/init-fake-terminal/main for further processing schedule: clear-screen/init-fake-terminal/main run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 77 run: clear-screen/init-fake-terminal/main 10: 78 => ((4 integer)) mem: ((4 integer)): 1312 <= 78 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 78 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 78 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1185 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1185 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1185 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 78 run: clear-screen/init-fake-terminal/main 10: 79 => ((4 integer)) mem: ((4 integer)): 1312 <= 79 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 79 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 79 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1186 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1186 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1186 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 79 run: clear-screen/init-fake-terminal/main 10: 80 => ((4 integer)) mem: ((4 integer)): 1312 <= 80 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 80 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 80 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1187 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1187 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1187 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 80 run: clear-screen/init-fake-terminal/main 10: 81 => ((4 integer)) mem: ((4 integer)): 1312 <= 81 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 81 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 81 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1188 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1188 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1188 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 81 run: clear-screen/init-fake-terminal/main 10: 82 => ((4 integer)) mem: ((4 integer)): 1312 <= 82 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 82 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 82 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1189 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1189 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1189 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((add)) ((4 integer)) ((1 literal))) mem: ((4 integer)) => 82 run: clear-screen/init-fake-terminal/main 10: 83 => ((4 integer)) mem: ((4 integer)): 1312 <= 83 run: clear-screen/init-fake-terminal/main 11: (((jump)) ((-6 offset))) run: clear-screen/init-fake-terminal/main 6: (((5 boolean)) <- ((greater-or-equal)) ((4 integer)) ((3 integer))) mem: ((4 integer)) => 83 mem: ((3 integer)) => 200 run: clear-screen/init-fake-terminal/main 6: nil => ((5 boolean)) mem: ((5 boolean)): 1313 <= nil run: clear-screen/init-fake-terminal/main 7: (((jump-if)) ((5 boolean)) ((4 offset))) mem: ((5 boolean)) => nil run: clear-screen/init-fake-terminal/main 8: (((1 byte-address)) <- ((index-address)) ((2 string-address) (deref)) ((4 integer))) mem: ((4 integer)) => 83 array-len: ((1106 string) (raw)) mem: ((1106 integer) (raw)) => 200 run: clear-screen/init-fake-terminal/main 8: 1190 => ((1 byte-address)) mem: ((1 byte-address)): 1309 <= 1190 run: clear-screen/init-fake-terminal/main 9: (((1 byte-address) (deref)) <- ((copy)) (( literal))) run: clear-screen/init-fake-terminal/main 9: #\space => ((1 byte-address) (deref)) mem: ((1 byte-address) (deref)): 1190 <= #\space run: clear-screen/init-fake-terminal/main 10: (((4 integer)) <- ((a
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Mu - linux/116write-buffered.subx</title>
<meta name="Generator" content="Vim/8.1">
<meta name="plugin-version" content="vim8.1_v1">
<meta name="syntax" content="none">
<meta name="settings" content="number_lines,use_css,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
<meta name="colorscheme" content="minimal-dark">
<style type="text/css">
<!--
pre { font-family: monospace; color: #000000; background-color: #a8a8a8; }
body { font-size:12pt; font-family: monospace; color: #000000; background-color: #a8a8a8; }
a { color:inherit; }
* { font-size:12pt; font-size: 1em; }
.subxH1Comment { color: #005faf; text-decoration: underline; }
.subxComment { color: #005faf; }
.subxS1Comment { color: #0000af; }
.subxS2Comment { color: #8a8a8a; }
.LineNr { }
.SpecialChar { color: #d70000; }
.Constant { color: #008787; }
.subxTest { color: #5f8700; }
.subxFunction { color: #af5f00; text-decoration: underline; }
.Normal { color: #000000; background-color: #a8a8a8; padding-bottom: 1px; }
-->
</style>

<script type='text/javascript'>
<!--

/* function to open any folds containing a jumped-to line before jumping to it */
function JumpToLine()
{
  var lineNum;
  lineNum = window.location.hash;
  lineNum = lineNum.substr(1); /* strip off '#' */

  if (lineNum.indexOf('L') == -1) {
    lineNum = 'L'+lineNum;
  }
  var lineElem = document.getElementById(lineNum);
  /* Always jump to new location even if the line was hidden inside a fold, or
   * we corrected the raw number to a line ID.
   */
  if (lineElem) {
    lineElem.scrollIntoView(true);
  }
  return true;
}
if ('onhashchange' in window) {
  window.onhashchange = JumpToLine;
}

-->
</script>
</head>
<body onload='JumpToLine();'>
<a href='https://github.com/akkartik/mu/blob/main/linux/116write-buffered.subx'>https://github.com/akkartik/mu/blob/main/linux/116write-buffered.subx</a>
<pre id='vimCodeElement'>
<span id="L1" class="LineNr">  1 </span><span class="subxComment"># write-buffered: like 'write', but for a buffered-file</span>
<span id="L2" class="LineNr">  2 </span>
<span id="L3" class="LineNr">  3 </span>== code
<span id="L4" class="LineNr">  4 </span><span class="subxComment">#   instruction                     effective address                                                   register    displacement    immediate</span>
<span id="L5" class="LineNr">  5 </span><span class="subxS1Comment"># . op          subop               mod             rm32          base        index         scale       r32</span>
<span id="L6" class="LineNr">  6 </span><span class="subxS1Comment"># . 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</span>
<span id="L7" class="LineNr">  7 </span>
<span id="L8" class="LineNr">  8 </span><span class="subxFunction">write-buffered</span>:  <span class="subxComment"># f: (addr buffered-file), msg: (addr array byte)</span>
<span id="L9" class="LineNr">  9 </span>    <span class="subxComment"># pseudocode:</span>
<span id="L10" class="LineNr"> 10 </span>    <span class="subxComment">#   in = msg-&gt;data</span>
<span id="L11" class="LineNr"> 11 </span>    <span class="subxComment">#   inend = &amp;msg-&gt;data[msg-&gt;size]</span>
<span id="L12" class="LineNr"> 12 </span>    <span class="subxComment">#   while (in &lt; inend)</span>
<span id="L13" class="LineNr"> 13 </span>    <span class="subxComment">#     if f-&gt;write &gt;= f-&gt;size</span>
<span id="L14" class="LineNr"> 14 </span>    <span class="subxComment">#       flush(f)</span>
<span id="L15" class="LineNr"> 15 </span>    <span class="subxComment">#       clear-stream(f)</span>
<span id="L16" class="LineNr"> 16 </span>    <span class="subxComment">#     c = *in</span>
<span id="L17" class="LineNr"> 17 </span>    <span class="subxComment">#     f-&gt;data[f-&gt;write] = c</span>
<span id="L18" class="LineNr"> 18 </span>    <span class="subxComment">#     ++f-&gt;write</span>
<span id="L19" class="LineNr"> 19 </span>    <span class="subxComment">#     ++in</span>
<span id="L20" class="LineNr"> 20 </span>    <span class="subxComment">#</span>
<span id="L21" class="LineNr"> 21 </span>    <span class="subxComment"># registers:</span>
<span id="L22" class="LineNr"> 22 </span>    <span class="subxComment">#   in: esi</span>
<span id="L23" class="LineNr"> 23 </span>    <span class="subxComment">#   inend: ecx</span>
<span id="L24" class="LineNr"> 24 </span>    <span class="subxComment">#   f: edi</span>
<span id="L25" class="LineNr"> 25 </span>    <span class="subxComment">#   f-&gt;size: edx</span>
<span id="L26" class="LineNr"> 26 </span>    <span class="subxComment">#   f-&gt;write: ebx (cached; need to keep in sync)</span>
<span id="L27" class="LineNr"> 27 </span>    <span class="subxComment">#   c: eax</span>
<span id="L28" class="LineNr"> 28 </span>    <span class="subxComment">#</span>
<span id="L29" class="LineNr"> 29 </span>    <span class="subxS1Comment"># . prologue</span>
<span id="L30" class="LineNr"> 30 </span>    55/push-ebp
<span id="L31" class="LineNr"> 31 </span>    89/copy                         3/mod/direct    5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          4/r32/esp  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy esp to ebp</span>
<span id="L32" class="LineNr"> 32 </span>    <span class="subxS1Comment"># . save registers</span>
<span id="L33" class="LineNr"> 33 </span>    50/push-eax
<span id="L34" class="LineNr"> 34 </span>    51/push-ecx
<span id="L35" class="LineNr"> 35 </span>    52/push-edx
<span id="L36" class="LineNr"> 36 </span>    53/push-ebx
<span id="L37" class="LineNr"> 37 </span>    56/push-esi
<span id="L38" class="LineNr"> 38 </span>    57/push-edi
<span id="L39" class="LineNr"> 39 </span>    <span class="subxComment"># eax = msg</span>
<span id="L40" class="LineNr"> 40 </span>    8b/copy                         1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>                        0/r32/eax   0xc/disp8      <span class="Normal"> . </span>                <span class="subxComment"># copy *(ebp+12) to eax</span>
<span id="L41" class="LineNr"> 41 </span>    <span class="subxComment"># var in/esi: (addr byte) = msg-&gt;data</span>
<span id="L42" class="LineNr"> 42 </span>    8d/copy-address                 1/mod/*+disp8   0/rm32/eax   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          6/r32/esi   4/disp8        <span class="Normal"> . </span>                <span class="subxComment"># copy eax+4 to esi</span>
<span id="L43" class="LineNr"> 43 </span>    <span class="subxComment"># var inend/ecx: (addr byte) = &amp;msg-&gt;data[msg-&gt;size]</span>
<span id="L44" class="LineNr"> 44 </span>    8b/copy                         0/mod/indirect  0/rm32/eax   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          1/r32/ecx  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy *eax to ecx</span>
<span id="L45" class="LineNr"> 45 </span>    8d/copy-address                 0/mod/indirect  4/rm32/sib    6/base/esi  1/index/ecx  <span class="Normal"> . </span>          1/r32/ecx  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy esi+ecx to ecx</span>
<span id="L46" class="LineNr"> 46 </span>    <span class="subxComment"># edi = f</span>
<span id="L47" class="LineNr"> 47 </span>    8b/copy                         1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>                        7/r32/edi   8/disp8        <span class="Normal"> . </span>                <span class="subxComment"># copy *(ebp+8) to edi</span>
<span id="L48" class="LineNr"> 48 </span>    <span class="subxComment"># edx = f-&gt;size</span>
<span id="L49" class="LineNr"> 49 </span>    8b/copy                         1/mod/*+disp8   7/rm32/edi   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          2/r32/edx   0xc/disp8      <span class="Normal"> . </span>                <span class="subxComment"># copy *(edi+12) to edx</span>
<span id="L50" class="LineNr"> 50 </span>    <span class="subxComment"># ebx = f-&gt;write</span>
<span id="L51" class="LineNr"> 51 </span>    8b/copy                         1/mod/*+disp8   7/rm32/edi   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/ebx   4/disp8        <span class="Normal"> . </span>                <span class="subxComment"># copy *(edi+4) to ebx</span>
<span id="L52" class="LineNr"> 52 </span><span class="Constant">$write-buffered:loop</span>:
<span id="L53" class="LineNr"> 53 </span>    <span class="subxComment"># if (in &gt;= inend) break</span>
<span id="L54" class="LineNr"> 54 </span>    39/compare                      3/mod/direct    6/rm32/esi   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          1/r32/ecx  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># compare esi with ecx</span>
<span id="L55" class="LineNr"> 55 </span>    73/jump-if-addr&gt;=  $write-buffered:loop-end/disp8
<span id="L56" class="LineNr"> 56 </span>    <span class="subxComment"># if (f-&gt;write &gt;= f-&gt;size) flush and clear f's stream</span>
<span id="L57" class="LineNr"> 57 </span>    39/compare                      3/mod/direct    3/rm32/ebx   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          2/r32/edx  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># compare ebx with edx</span>
<span id="L58" class="LineNr"> 58 </span>    7c/jump-if-&lt;  $write-buffered:to-stream/disp8
<span id="L59" class="LineNr"> 59 </span>    <span class="subxS1Comment"># . persist f-&gt;write</span>
<span id="L60" class="LineNr"> 60 </span>    89/copy                         1/mod/*+disp8   7/rm32/edi   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/ebx   4/disp8        <span class="Normal"> . </span>                <span class="subxComment"># copy ebx to *(edi+4)</span>
<span id="L61" class="LineNr"> 61 </span>    <span class="subxS1Comment"># . flush(f)</span>
<span id="L62" class="LineNr"> 62 </span>    <span class="subxS2Comment"># . . push args</span>
<span id="L63" class="LineNr"> 63 </span>    57/push-edi
<span id="L64" class="LineNr"> 64 </span>    <span class="subxS2Comment"># . . call</span>
<span id="L65" class="LineNr"> 65 </span>    e8/call  <a href='115write-byte.subx.html#L81'>flush</a>/disp32
<span id="L66" class="LineNr"> 66 </span>    <span class="subxS2Comment"># . . discard args</span>
<span id="L67" class="LineNr"> 67 </span>    81          0/subop/add         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              4/imm32           <span class="subxComment"># add to esp</span>
<span id="L68" class="LineNr"> 68 </span>    <span class="subxS1Comment"># . clear-stream(stream = f+4)</span>
<span id="L69" class="LineNr"> 69 </span>    <span class="subxS2Comment"># . . push args</span>
<span id="L70" class="LineNr"> 70 </span>    8d/copy-address                 1/mod/*+disp8   7/rm32/edi   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          0/r32/eax   4/disp8        <span class="Normal"> . </span>                <span class="subxComment"># copy edi+4 to eax</span>
<span id="L71" class="LineNr"> 71 </span>    50/push-eax
<span id="L72" class="LineNr"> 72 </span>    <span class="subxS2Comment"># . . call</span>
<span id="L73" class="LineNr"> 73 </span>    e8/call  <a href='106stream.subx.html#L17'>clear-stream</a>/disp32
<span id="L74" class="LineNr"> 74 </span>    <span class="subxS2Comment"># . . discard args</span>
<span id="L75" class="LineNr"> 75 </span>    81          0/subop/add         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              4/imm32           <span class="subxComment"># add to esp</span>
<span id="L76" class="LineNr"> 76 </span>    <span class="subxS1Comment"># . f-&gt;write must now be 0; update its cache at ebx</span>
<span id="L77" class="LineNr"> 77 </span>    31/xor                          3/mod/direct    3/rm32/ebx   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/ebx  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># clear ebx</span>
<span id="L78" class="LineNr"> 78 </span><span class="Constant">$write-buffered:to-stream</span>:
<span id="L79" class="LineNr"> 79 </span>    <span class="subxComment"># write to stream</span>
<span id="L80" class="LineNr"> 80 </span>    <span class="subxComment"># f-&gt;data[f-&gt;write] = *in</span>
<span id="L81" class="LineNr"> 81 </span>    <span class="subxS1Comment"># . AL = *in</span>
<span id="L82" class="LineNr"> 82 </span>    31/xor                          3/mod/direct    0/rm32/eax   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          0/r32/eax  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># clear eax</span>
<span id="L83" class="LineNr"> 83 </span>    8a/copy-byte                    0/mod/indirect  6/rm32/esi   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          0/r32/AL   <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy byte at *esi to AL</span>
<span id="L84" class="LineNr"> 84 </span>    <span class="subxS1Comment"># . f-&gt;data[f-&gt;write] = AL</span>
<span id="L85" class="LineNr"> 85 </span>    88/copy-byte                    1/mod/*+disp8   4/rm32/sib    7/base/edi  3/index/ebx  <span class="Normal"> . </span>          0/r32/AL    0x10/disp8     <span class="Normal"> . </span>                <span class="subxComment"># copy AL to *(edi+ebx+16)</span>
<span id="L86" class="LineNr"> 86 </span>    <span class="subxComment"># ++f-&gt;write</span>
<span id="L87" class="LineNr"> 87 </span>    43/increment-ebx
<span id="L88" class="LineNr"> 88 </span>    <span class="subxComment"># ++in</span>
<span id="L89" class="LineNr"> 89 </span>    46/increment-esi
<span id="L90" class="LineNr"> 90 </span>    eb/jump  $write-buffered:<span class="Constant">loop</span>/disp8
<span id="L91" class="LineNr"> 91 </span><span class="Constant">$write-buffered:loop-end</span>:
<span id="L92" class="LineNr"> 92 </span>    <span class="subxComment"># persist necessary variables from registers</span>
<span id="L93" class="LineNr"> 93 </span>    89/copy                         1/mod/*+disp8   7/rm32/edi   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/ebx   4/disp8        <span class="Normal"> . </span>                <span class="subxComment"># copy ebx to *(edi+4)</span>
<span id="L94" class="LineNr"> 94 </span><span class="Constant">$write-buffered:end</span>:
<span id="L95" class="LineNr"> 95 </span>    <span class="subxS1Comment"># . restore registers</span>
<span id="L96" class="LineNr"> 96 </span>    5f/pop-to-edi
<span id="L97" class="LineNr"> 97 </span>    5e/pop-to-esi
<span id="L98" class="LineNr"> 98 </span>    5b/pop-to-ebx
<span id="L99" class="LineNr"> 99 </span>    5a/pop-to-edx
<span id="L100" class="LineNr">100 </span>    59/pop-to-ecx
<span id="L101" class="LineNr">101 </span>    58/pop-to-eax
<span id="L102" class="LineNr">102 </span>    <span class="subxS1Comment"># . epilogue</span>
<span id="L103" class="LineNr">103 </span>    89/copy                         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          5/r32/ebp  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy ebp to esp</span>
<span id="L104" class="LineNr">104 </span>    5d/pop-to-ebp
<span id="L105" class="LineNr">105 </span>    c3/return
<span id="L106" class="LineNr">106 </span>
<span id="L107" class="LineNr">107 </span><span class="subxTest">test-write-buffered</span>:
<span id="L108" class="LineNr">108 </span>    <span class="subxH1Comment"># - check that write-buffered writes to the file</span>
<span id="L109" class="LineNr">109 </span>    <span class="subxComment"># setup</span>
<span id="L110" class="LineNr">110 </span>    <span class="subxS1Comment"># . clear-stream(_test-stream)</span>
<span id="L111" class="LineNr">111 </span>    <span class="subxS2Comment"># . . push args</span>
<span id="L112" class="LineNr">112 </span>    68/push  <a href='108write.subx.html#L151'>_test-stream</a>/imm32
<span id="L113" class="LineNr">113 </span>    <span class="subxS2Comment"># . . call</span>
<span id="L114" class="LineNr">114 </span>    e8/call  <a href='106stream.subx.html#L17'>clear-stream</a>/disp32
<span id="L115" class="LineNr">115 </span>    <span class="subxS2Comment"># . . discard args</span>
<span id="L116" class="LineNr">116 </span>    81          0/subop/add         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              4/imm32           <span class="subxComment"># add to esp</span>
<span id="L117" class="LineNr">117 </span>    <span class="subxS1Comment"># . clear-stream($_test-buffered-file-&gt;buffer)</span>
<span id="L118" class="LineNr">118 </span>    <span class="subxS2Comment"># . . push args</span>
<span id="L119" class="LineNr">119 </span>    68/push  $_test-buffered-file-&gt;buffer/imm32
<span id="L120" class="LineNr">120 </span>    <span class="subxS2Comment"># . . call</span>
<span id="L121" class="LineNr">121 </span>    e8/call  <a href='106stream.subx.html#L17'>clear-stream</a>/disp32
<span id="L122" class="LineNr">122 </span>    <span class="subxS2Comment"># . . discard args</span>
<span id="L123" class="LineNr">123 </span>    81          0/subop/add         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              4/imm32           <span class="subxComment"># add to esp</span>
<span id="L124" class="LineNr">124 </span>    <span class="subxComment"># write-buffered(_test-buffered-file, &quot;Abc&quot;)</span>
<span id="L125" class="LineNr">125 </span>    <span class="subxS2Comment"># . . push args</span>
<span id="L126" class="LineNr">126 </span>    68/push  <span class="Constant">&quot;Abc&quot;</span>/imm32
<span id="L127" class="LineNr">127 </span>    68/push  <a href='112read-byte.subx.html#L318'>_test-buffered-file</a>/imm32
<span id="L128" class="LineNr">128 </span>    <span class="subxS2Comment"># . . call</span>
<span id="L129" class="LineNr">129 </span>    e8/call  <a href='116write-buffered.subx.html#L8'>write-buffered</a>/disp32
<span id="L130" class="LineNr">130 </span>    <span class="subxS2Comment"># . . discard args</span>
<span id="L131" class="LineNr">131 </span>    81          0/subop/add         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              8/imm32           <span class="subxComment"># add to esp</span>
<span id="L132" class="LineNr">132 </span>    <span class="subxComment"># flush(_test-buffered-file)</span>
<span id="L133" class="LineNr">133 </span>    <span class="subxS2Comment"># . . push args</span>
<span id="L134" class="LineNr">134 </span>    68/push  <a href='112read-byte.subx.html#L318'>_test-buffered-file</a>/imm32
<span id="L135" class="LineNr">135 </span>    <span class="subxS2Comment"># . . call</span>
<span id="L136" class="LineNr">136 </span>    e8/call  <a href='115write-byte.subx.html#L81'>flush</a>/disp32
<span id="L137" class="LineNr">137 </span>    <span class="subxS2Comment"># . . discard args</span>
<span id="L138" class="LineNr">138 </span>    81          0/subop/add         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              4/imm32           <span class="subxComment"># add to esp</span>
<span id="L139" class="LineNr">139 </span>    <span class="subxComment"># check-stream-equal(_test-stream, &quot;Abc&quot;, msg)</span>
<span id="L140" class="LineNr">140 </span>    <span class="subxS2Comment"># . . push args</span>
<span id="L141" class="LineNr">141 </span>    68/push  <span class="Constant">&quot;F - test-write-buffered-single&quot;</span>/imm32
<span id="L142" class="LineNr">142 </span>    68/push  <span class="Constant">&quot;Abc&quot;</span>/imm32
<span id="L143" class="LineNr">143 </span>    68/push  <a href='108write.subx.html#L151'>_test-stream</a>/imm32
<span id="L144" class="LineNr">144 </span>    <span class="subxS2Comment"># . . call</span>
<span id="L145" class="LineNr">145 </span>    e8/call  <a href='109stream-equal.subx.html#L194'>check-stream-equal</a>/disp32
<span id="L146" class="LineNr">146 </span>    <span class="subxS2Comment"># . . discard args</span>
<span id="L147" class="LineNr">147 </span>    81          0/subop/add         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              0xc/imm32         <span class="subxComment"># add to esp</span>
<span id="L148" class="LineNr">148 </span>    <span class="subxS1Comment"># . end</span>
<span id="L149" class="LineNr">149 </span>    c3/return
<span id="L150" class="LineNr">150 </span>
<span id="L151" class="LineNr">151 </span><span class="subxTest">test-write-buffered-with-intermediate-flush</span>:
<span id="L152" class="LineNr">152 </span>    <span class="subxH1Comment"># - check that write-buffered flushes in the middle if its buffer fills up</span>
<span id="L153" class="LineNr">153 </span>    <span class="subxComment"># setup</span>
<span id="L154" class="LineNr">154 </span>    <span class="subxS1Comment"># . clear-stream(_test-stream)</span>
<span id="L155" class="LineNr">155 </span>    <span class="subxS2Comment"># . . push args</span>
<span id="L156" class="LineNr">156 </span>    68/push  <a href='108write.subx.html#L151'>_test-stream</a>/imm32
<span id="L157" class="LineNr">157 </span>    <span class="subxS2Comment"># . . call</span>
<span id="L158" class="LineNr">158 </span>    e8/call  <a href='106stream.subx.html#L17'>clear-stream</a>/disp32
<span id="L159" class="LineNr">159 </span>    <span class="subxS2Comment"># . . discard args</span>
<span id="L160" class="LineNr">160 </span>    81          0/subop/add         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              4/imm32           <span class="subxComment"># add to esp</span>
<span id="L161" class="LineNr">161 </span>    <span class="subxS1Comment"># . clear-stream($_test-buffered-file-&gt;buffer)</span>
<span id="L162" class="LineNr">162 </span>    <span class="subxS2Comment"># . . push args</span>
<span id="L163" class="LineNr">163 </span>    68/push  $_test-buffered-file-&gt;buffer/imm32
<span id="L164" class="LineNr">164 </span>    <span class="subxS2Comment"># . . call</span>
<span id="L165" class="LineNr">165 </span>    e8/call  <a href='106stream.subx.html#L17'>clear-stream</a>/disp32
<span id="L166" class="LineNr">166 </span>    <span class="subxS2Comment"># . . discard args</span>
<span id="L167" class="LineNr">167 </span>    81          0/subop/add         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              4/imm32           <span class="subxComment"># add to esp</span>
<span id="L168" class="LineNr">168 </span>    <span class="subxComment"># _test-stream can hold 8 bytes, but _test-buffered-file can hold only 6.</span>
<span id="L169" class="LineNr">169 </span>    <span class="subxComment"># Try to write 7 bytes.</span>
<span id="L170" class="LineNr">170 </span>    <span class="subxS1Comment"># . write-buffered(_test-buffered-file, &quot;Abcdefg&quot;)</span>
<span id="L171" class="LineNr">171 </span>    <span class="subxS2Comment"># . . push args</span>
<span id="L172" class="LineNr">172 </span>    68/push  <span class="Constant">&quot;Abcdefg&quot;</span>/imm32
<span id="L173" class="LineNr">173 </span>    68/push  <a href='112read-byte.subx.html#L318'>_test-buffered-file</a>/imm32
<span id="L174" class="LineNr">174 </span>    <span class="subxS2Comment"># . . call</span>
<span id="L175" class="LineNr">175 </span