Pointers and references: Difference between revisions

m
Line 17:
mov es, ax</lang>
 
"<code>equ"</code> directives are flexible in that they can be intended as constants or as memory addresses. In this case, the "<code>equ"</code> directives involving "<code>tempByte"</code> and "<code>tempWord"</code> are used as memory addresses.
 
We can load to or from memory with the 8086 in a few different ways. In the example below, the value in a memory address is loaded directly from RAM to a register, or vice versa. Assume the code below takes place immediately after the setup above:
1,489

edits