From 7d1d929391c5fd43e2d4848255bbfd70c7ec8beb Mon Sep 17 00:00:00 2001 From: Greg King Date: Tue, 7 May 2013 19:59:16 -0400 Subject: [PATCH] Added two useful opcode mnemonic aliases. bnz - jump if not zero. bze - jump if zero. --- asminc/generic.mac | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 + -- 2.39.5