Advertisement
Eeems

Untitled

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