This commit is contained in:
Kartik K. Agaram 2021-03-15 20:39:36 -07:00
parent 460528e85b
commit 341f0c59be
1 changed files with 18 additions and 18 deletions

View File

@ -8,22 +8,22 @@
== code
Entry:
# initialize stack
bd/copy-to-ebp 0/imm32
# always first run tests
(run-tests)
(num-test-failures) # => eax
# call main if tests all passed
{
3d/compare-eax-and 0/imm32
75/jump-if-!= break/disp8
(clear-real-screen)
c7 0/subop/copy *Real-screen-cursor-x 0/imm32
c7 0/subop/copy *Real-screen-cursor-y 0/imm32
(main)
}
# initialize stack
bd/copy-to-ebp 0/imm32
# always first run tests
(run-tests)
(num-test-failures) # => eax
# call main if tests all passed
{
3d/compare-eax-and 0/imm32
75/jump-if-!= break/disp8
(clear-real-screen)
c7 0/subop/copy *Real-screen-cursor-x 0/imm32
c7 0/subop/copy *Real-screen-cursor-y 0/imm32
(main)
}
# hang indefinitely
{
eb/jump loop/disp8
}
# hang indefinitely
{
eb/jump loop/disp8
}