Menu

#5 Z and NZ conditions are reversed

open
nobody
None
9
2012-02-28
2012-02-28
No

N and NZ conditions check should be reversed.
emulator does not pass first lines of PRELIM (ZEX test) test (in the test a jump to 0 is a fail.

start: ld a,1 ; test simple compares and z/nz jumps
cp 2
jp z,0
cp 1
jp nz,0

Discussion

  • Marc Dendooven

    Marc Dendooven - 2012-02-28
    • priority: 5 --> 9
    • summary: N and NZ conditions are reversed --> Z and NZ conditions are reversed
     
  • Marc Dendooven

    Marc Dendooven - 2012-02-28

    I mean offcourse Z and NZ conditions

     

Log in to post a comment.