Why mov 0900h, ax allowed in emu8086?

I just checked the manual again and MOV Immediate, REG is not allowed and actually illogical, but when I compile it works fine.

+4
source share
1 answer

The command immediate value MOV, REG is invalid, but emu8086 corrects this case. Instead of considering 0900h in MOV 0900h, ax as an immediate value, it marks 0900h as [DS: 0900h] , which represents a specific memory location.

+1
source

Source: https://habr.com/ru/post/1696032/


All Articles