Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _bitmaskForChar:
- cmp x0, #0x61
- b.lt bad
- cmp x0, #0x7a
- b.gt bad
- mov x1, x0
- sub x1, x1, #0x61
- mov x2, #0x0
- for:
- add x2, x2, #0x8
- add x3, x3, #0x1
- start:
- cmp x3, x0
- b.lt for
- adrp x0, letters@page
- add x0, x0, letters@pageoff
- add x0, x0, x2
- ret
- bad:
- mov x0, #0x0
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement