Login

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download | RSS feed

 ifndef included_xamean
 define included_xamean
 include "../common/pushpop.asm"
 include "../common/mov.asm"
 include "xadd.asm"

xamean:
;229+{0(special case),17}+mov10+xadd
  call pushpop
  push bc
  ld bc,xOP1
  call xadd
  ld hl,(xOP1+8)
  ld a,h
  and $7F
  or l
  jr z,xameanok;+_
  dec hl
  ld (xOP1+8),hl
xameanok;_:
  ld hl,xOP1
  pop de
  jp mov10
 endif