Created
May 21, 2022 14:27
-
-
Save dkorolev/fb188fbb107e37c434a69f34702ebcf1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
al = 0 | |
si = 0x500 | |
ram[si] = al | |
++si; | |
++al; | |
ram[si] = al | |
cx = ram[0] | |
cx -= 2; | |
while (cx) { | |
al = ram[si - 1] | |
al += ram[si] | |
++si | |
ram[si] = al | |
--cx | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment