Are the following MOV instructions correct?
MOV DS,[SI]
MOV [SI],DS
MOV [SI],2000H
Thank you.
Depends which assember your using.
In NASM lines 1 & 2 are ok, but 3 needs to be qualified with MOV WORD [SI], 2000H.
In MASM all need be qualified with MOV WORD PTR SI,DS.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.