[Nasm-bugs] [Bug 3392660] New: git nasm has "error: macro parameter `%+1' is not a condition code" for valid values

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Thu Apr 16 14:21:36 PDT 2020


https://bugzilla.nasm.us/show_bug.cgi?id=3392660

            Bug ID: 3392660
           Summary: git nasm has "error: macro parameter `%+1' is not a
                    condition code" for valid values
           Product: NASM
           Version: 2.15 (development)
          Hardware: All
                OS: All
            Status: OPEN
          Severity: severe
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: pushbx at ulukai.org
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Built from git using configure

$ cat test.asm 
 %macro coreloop 1
.count_%+1:
.no_run_before_%+1:
.broken_run_before_%-1:
 %endmacro

label:
coreloop z
coreloop nz
$ nasm -v
NASM version 2.15rc0 compiled on Nov 22 2019
$ nasm test.asm -o test.bin
test.asm:8: error: macro parameter `%+1' is not a condition code
test.asm:2: ... from macro `coreloop' defined here
test.asm:8: error: macro parameter `%+1' is not a condition code
test.asm:3: ... from macro `coreloop' defined here
test.asm:8: error: macro parameter `%-1' is not a condition code
test.asm:4: ... from macro `coreloop' defined here
test.asm:9: error: macro parameter `%+1' is not a condition code
test.asm:2: ... from macro `coreloop' defined here
test.asm:9: error: macro parameter `%+1' is not a condition code
test.asm:3: ... from macro `coreloop' defined here
test.asm:9: error: macro parameter `%-1' is not a condition code
test.asm:4: ... from macro `coreloop' defined here
$ oldnasm -v
NASM version 2.12.02 compiled on Aug 10 2019
$ oldnasm test.asm -o test.bin
$

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


More information about the Nasm-bugs mailing list