简体   繁体   中英

8086 assembly mov instruction not error

Im write this code in 8086 emulator and emulate but not give any error why?

org 100h

mov 1ah,dh

ret

edit: this is the emulate output 在此处输入图片说明

emu8086 changed mov 1ah,dh to mov [1ah],dh . With square brackets it means: store DH to the memory at address DS:001A ( not 0001A ). I'd like to say that this behavior is a bug.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM