SHARE
TWEET

Untitled

a guest Dec 5th, 2019 117 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. _bitmaskForChar:
  3.     cmp x0, #0x61
  4.     b.lt bad
  5.     cmp x0, #0x7a
  6.     b.gt bad
  7.  
  8.     mov x1, x0
  9.     sub x1, x1, #0x61
  10.  
  11.     mov x2, #0x0
  12.  
  13.     for:
  14.     add x2, x2, #0x8
  15.     add x3, x3, #0x1
  16.  
  17.     start:
  18.     cmp x3, x0
  19.     b.lt for
  20.  
  21.     adrp x0, letters@page
  22.     add x0, x0, letters@pageoff
  23.  
  24.     add x0, x0, x2
  25.     ret
  26.  
  27.     bad:
  28.     mov x0, #0x0
  29.     ret
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top