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

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

if no,why not?!

Recommended Answers

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

Jump to Post

All 2 Replies

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 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.