Last active
January 12, 2017 02:55
-
-
Save castleberrysam/98e87f0dccde4638fb743bde03af77e7 to your computer and use it in GitHub Desktop.
This file contains 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
(movl %sp #xff) | |
(movh %sp #xff) | |
(movl %ax 7) | |
(movh %ax 0) | |
(mov (@+ %sp 0) %ax) | |
(add %sp -1) | |
(movl %ax 19) | |
(mov (@+ %sp 0) %ax) | |
(add %sp -1) | |
(movl %ax 112) | |
(mov (@+ %sp 0) %ax) | |
(add %sp -1) | |
(movl %ax 74) | |
(mov (@+ %sp 0) %ax) | |
(add %sp -1) | |
(movl %ax 133) | |
(mov (@+ %sp 0) %ax) | |
(add %sp -1) | |
(movl %ax 0) | |
(movh %ax 0) | |
(movl %bx 5) | |
(movh %bx 0) | |
(.label ADD5-LOOP) | |
(add %sp 1) | |
(mov %cx (@+ %sp 0)) | |
(add %ax %ax %cx) | |
(add %bx -1) | |
(brnz %bx ADD5-LOOP) | |
(or %pc %pc %pc) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment