Category:8086 Assembly: Difference between revisions

m
m (→‎Data Registers: added example of separate registers)
m (→‎Data Registers: typo fix)
Line 28:
<lang asm>mov ax,00FFh
inc al</lang>
If we had executed <code>INC AX</code>, then <code>AX</code>AX would have been incremented to 0x100. Since we only incremented <code>AL</code>, only <code>AL</code> was incremented in this case, and <code>AH</code> '''still equals 0x00!'''
 
Generally speaking, the 8086's registers serve the following purposes:
1,489

edits