NASM Forum > Using NASM

GoDevTool Debugger doesn't like this line of code

<< < (2/2)

debs3759:

--- Quote from: Structure on January 10, 2020, 04:58:35 PM ---
--- Quote ---What are you saying OpAmp should have done?
--- End quote ---

I'm no assembly expert it's just a thought...
Perhaps try: movzx ?

--- End quote ---

No such thing as

movzx mem,reg

but


--- Code: ---MOVZX   EDX,AL
MOV     [EBX],EDX

--- End code ---

would do it.

Sadly that doesn't solve the actual problem, it only fixes the posted instruction :)

I'll help more with the homework when OpAmp figures posts an attempt to convert to BCD :)

The docs from nasm 0.98 contain a full description of all instructions, if you need it.

I will look up how I did this, it's been a while :)

Navigation

[0] Message Index

[*] Previous page

Go to full version