Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cp a,2
- jr c,success
- cp a,3
- jr c,success
- cp a,5
- jr c,success
- cp a,9
- jr c,success
- ;fail
- jr loop
- success:
- ;success case
- ;Note that the carry flag will always be set here
- loop:
- ;continue the loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement