Created
November 9, 2010 07:38
-
-
Save hktechn0/668821 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
XOR r1, r1 | |
XOR r2, r2 | |
XOR r3, r3 | |
XOR r4, r4 | |
XOR r5, r5 | |
ADD r4, 10 | |
ADD r2, 1 | |
ADD r3, 2 | |
loop: | |
ADD r3, 1 | |
ADD r1, r2 | |
MOV r0, r1 | |
CMP r3, r4 | |
PJMP fin #SIO | |
ADD r3, 1 | |
ADD r2, r1 | |
MOV r0, r2 | |
CMP r3, r4 | |
PJMP loop #SU | |
fin: | |
ADD r5, 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment