Advertisement
jishmael

Untitled

Dec 14th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. randu LDR R0,seed
  2. LDR R1,magic
  3. MUL R0,R0,R1
  4. LDR R2,mask
  5. AND R0,R0,R2
  6. STR R0,seed
  7. MOV R0, R0 ASR #8 ; shift R0 right by 8 bits
  8. AND R0, R0, #0x3f ; take the modulo by 64
  9. MOV PC,R14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement