SHARE
TWEET

bits % 512 == 64

ISSOtm Sep 6th, 2017 103 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     ; bits is stored in hl
  2.  
  3.     bit 0, h ; Don't care about the other bits to do the "mod 512"
  4.     jr nz, .not64
  5.     ld a, l ; (bits % 512) < 256, check if it's exactly 64
  6.     cp 64
  7.     jr nz, .not64
  8.     ; (bit % 512) == 64 :ok_hand:
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