[Nasm-bugs] [Bug 3392404] idiv: no way to specify imm8 or imm16 (apparently)

no-reply at bugzilla-nasm.gorcunov.org no-reply at bugzilla-nasm.gorcunov.org
Fri Apr 28 06:54:35 PDT 2017


Ethan "eekee" Grammatikidis <eekee57 at fastmail.fm> changed:

           What    |Removed                     |Added
                 CC|                            |eekee57 at fastmail.fm
           Severity|normal                      |severe

--- Comment #1 from Ethan "eekee" Grammatikidis <eekee57 at fastmail.fm> ---
tried idiv without a size qualifier, and got an error for that too:

        idiv 10d
testidiv.asm:7: error: invalid combination of opcode and operands

it appears idiv with immediate operand is not assembleable!

i also tested this (redundant) construct:
    idiv ax, 10d
it also got the 'invalid combination' error, and the same when i prefixed
either operand with 'word'.

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