Masm indirect addressing mode for MOV commmand -


I have tried the following forms and not like any of them:

  Mov byte [marivale], al wax byte ptr [merivable], al mov [byte marial], al  

What am I missing? Why can not I use an indirect address

On some incorrect lines, the "missing operator is missing the expression", some of them say "the structure area is expected"

  myVariable equ 0404h  

does not declare a variable, it replaces all constants with their values ​​in a continuous object file . Therefore,

  mov [myVariable] becomes al  

  mov [0404h], al  

that is invalid.

You must assign a value to a register, such as:

  mov di, 0404h mov byte PTR [D], AL  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -