I'm trying to put my .asm
(version x8086) file in the nasm
And I get
nums.asm:7: error: invalid combination of opcode and operands
nums.asm:9: error: invalid combination of opcode and operands
JMP MAIN
ADDRESS_MEMORY dw 0
JUMPS dw 0
DIVIDE equ 50
MAIN:
mov ADDRESS_MEMORY, ax ; <- Error
JMP RANDOM_NUMBER
mov JUMPS, cx ; <- Error
What is the issue? Help. I really need to use this like that. How can I move the value to the global variables without error?