Advertisement
Zeda

Grammer Add Float Mode

Dec 13th, 2020
2,301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Add:
  2.   push bc
  3.   bit floatmode,(iy+ModeFlags2)
  4.   jr nz,float_add
  5.   ld a,(hl)
  6.   cp 3Ah
  7.   jr z,+_
  8.   call ParseFullArg
  9.   pop hl
  10.   xor a
  11.   add hl,bc
  12.   ld b,h
  13.   ld c,l
  14.   ld h,a
  15.   adc a,a
  16.   ld l,a
  17.   ld (ThetaPrimeVar),hl
  18.   ret
  19. float_add:
  20.   dec hl
  21.   ld (parsePtr),hl
  22. _:
  23.   ld hl,addSingle
  24.   jp float_stepin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement