Modulus in Assembly How?
I need help how do I get the modulus/remainder in assembly language in intel syntax? is it mod?
mov dword [years], 7 mov ax, word [years] mod word [months] <--- Line 79 mov [i], ax mov eax, 0 mov ax, [i] push eax push string4 call printf add esp, 8 I'm getting this error: linux2[27]% make nasm -g -f elf xxxx.asm xxxx.asm:79: error: parser: instruction expected make: *** [xxxx.o] Error 1 |
Quote:
|
great, thanks alot, it works now
|
All times are GMT -5. The time now is 05:31 AM. |