assembly - mov DS,[BX] and mov DS,[1234] -


hi i'm starting assembly language , sorry basic question.

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

  1. mov ds,[bx]
  2. mov ds,[1234]

if no,why not?!

they both valid, examples 8e /r mov sreg,r/m16 move r/m16 segment register.

8e 1f       mov ds,[bx] 8e 1e d2 04 mov ds,[1234] 

next time please consult instruction set reference.


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -