Advertisement
AnthonyCagliano

Untitled

Dec 1st, 2022
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. bit 1, (ix - 4) ; polynomial is 233 bits, check 234th bit
  2. jr z, .no_xor_poly
  3.  
  4. ; xor byte 3
  5. ld a, (ix - 32 + 3)
  6. xor 1
  7. ld (ix - 32 + 3), a
  8.  
  9. ; xor byte 10
  10. ld a, (ix - 32 + 10)
  11. xor 4
  12. ld (ix - 32 + 10), a
  13.  
  14. ; xor byte 30
  15. ld a, (ix - 32 + 30)
  16. xor 2
  17. ld (ix - 32 + 30), a
  18.  
  19. .no_xor_poly
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement