Advertisement
Eeems

Untitled

Jul 7th, 2011
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DispDecHL:
  2.     push de
  3.     push bc
  4.         push hl
  5.             ld bc,6
  6.             call AllocateMem
  7.             if(ALLOCATE_SUCCESS)
  8.                 jr nz,_
  9.             push ix
  10.             pop de  ; ld de,ix
  11.         pop hl
  12.         push ix
  13.         call Num2Dec
  14.         pop hl
  15.         push hl
  16.         call DrawString
  17.         pop ix
  18.         call FreeMem
  19.     pop bc
  20.     pop de
  21.     return(SUCCESS)
  22. _   pop hl
  23.     pop bc
  24.     pop de
  25.     ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement