From: Greg King Date: Tue, 7 May 2013 23:59:16 +0000 (-0400) Subject: Added two useful opcode mnemonic aliases. X-Git-Tag: V2.14~14^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F8%2Fhead;p=cc65 Added two useful opcode mnemonic aliases. bnz - jump if not zero. bze - jump if zero. --- diff --git a/asminc/generic.mac b/asminc/generic.mac index 02eccef5d..bc6f5924e 100644 --- a/asminc/generic.mac +++ b/asminc/generic.mac @@ -43,3 +43,13 @@ L: bcc Arg .endmacro +; bnz - jump if not zero +.macro bnz Arg + bne Arg +.endmacro + +; bze - jump if zero +.macro bze Arg + beq Arg +.endmacro +