Copy a register's content to an immediate memory address in assembly

99 views Asked by At

In MASM 32 how can I copy the value of a register (for example AL) to an immediate fixed address in the memory (for example address 30h). So like this

MOV [address], register

I tried this with MOV

MOV [30H], AL

and this also

MOV DS:[30H], AL

but it didn't work, so what to do?

0

There are 0 answers