z80: fix a condition check in the null handler
authorAlan Cox <alan@linux.intel.com>
Wed, 6 Feb 2019 13:06:08 +0000 (13:06 +0000)
committerAlan Cox <alan@linux.intel.com>
Wed, 6 Feb 2019 13:06:08 +0000 (13:06 +0000)
Kernel/lowlevel-z80.s

index c2bc78f..44c2484 100644 (file)
@@ -327,6 +327,7 @@ null_handler:
        or a
        jp nz, trap_illegal
        ld a, (_inint)
+       or a
        jp nz, trap_illegal
        ; user is merely not good
        ld hl, #7