Hi
are these two instructions valid in assembly language?
(8086 mov instruction).

1. mov DS,[BX]
2. mov DS,[3900H]

if no,why not?!

Did you try using them?
If you have access to a compiler or Debug, you can test the theory.

Hi
are these two instructions valid in assembly language?
(8086 mov instruction).

1. mov DS,[BX]
2. mov DS,[3900H]

if no,why not?!

They are. MOV SREG, memory is allowed; you can easily look this up yourself. If you need an assembler, try nasm.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.