I'm starting to learn Assembly (ASM x86). I'm using the emulator emu8086. I've written the following instruction:
mov eax,3
When I'm trying to emulate the instruction, emu8086 writes: wrong parameters MOV eax,3. probably it's an undefined var: eax
In addition, when I replaced eax with ax, ah or al - It worked just fine.
Why is it like that? What should I do in order to fix this problem? Thanks.
emu8086 emulates the original 8086. It's a 16 bit processor, so there are no 32 bit registers (eax, ebx, etc.)
For a bit more information on the register layout, check out the Wikipedia page on the Intel 8086.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With