Advertisement
beckadam

Copy an 8x8 into a 19x19

May 18th, 2019
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. chunk_copy:
  2. ld de,(map_buffer_cur)
  3. ld bc,8
  4. .loop:
  5. push bc
  6. ld c,8
  7. ld ix,de
  8. ldir
  9. lea de,ix+19
  10. ex (sp),hl
  11. dec l
  12. ex (sp),hl
  13. pop bc
  14. ret z
  15. jr .loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement