Created
October 19, 2012 14:50
-
-
Save b-adams/3918619 to your computer and use it in GitHub Desktop.
Indirect bouncing for CS225
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
BR main | |
kyle: .block 2 ;global variable #2h .word josh | |
josh: .block 2 ;global variable #2h ;local variable #2h .word keegan | |
keegan: .block 2 ;global variable #2h .word kyle | |
constanc: .block 2 ;global variable #2h .word dauris | |
dauris: .block 2 ;global variable #2h .word josh | |
main: NOP0 | |
lda kyle,i | |
sta keegan,d | |
lda josh,i | |
sta kyle,d | |
sta dauris,d | |
lda keegan,i | |
sta josh,d | |
lda dauris,i | |
sta constanc,d | |
deco josh,i ;josh | |
deco josh,d ;keegan | |
deco josh,n ;kyle | |
lda constanc,i | |
sta josh,d | |
deco josh,i ;josh | |
deco josh,d ;constanc | |
deco josh,n ;dauris | |
STOP | |
.end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment