Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;For the sake of this example,
- ;(IX+0) = A.X, (Center of A)
- ;(IX+1) = A.Y, (Center of A)
- ;(IX+2) = B.X, (Point B)
- ;(IX+3) = B.Y (Point B)
- LD A,(IX+0)
- SUB (IX+2)
- CPL A
- CP 8
- JP NC,False
- LD A,(IX+1)
- SUB (IX+3)
- CPL A
- CP 8
- JP NC,False
- ;Do stuff if true
- False:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement