Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;MOV r7, #0x00
- ;InputLoop:
- ;XOR r7, #0xFF
- ;MOV r1, #0
- ;DELAY:
- ;ADD r1, #1
- ;MOV r2, #0
- ;DELAY2:
- ;MOV r3, #0
- ;DELAY3:
- ;MOV r4, #0
- ;DELAY4:
- ;MOV r5, SW
- ;ADD r4, #1
- ;CMP r4, r5
- ;JNz DELAY4
- ;ADD r3, #1
- ;JNC DELAY3
- ;ADD r2, #1
- ;JNC DELAY2
- ;JNC DELAY
- ;JMP InputLoop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement