Question about ADD on ASM 8086

Posted by Tal on Stack Overflow See other posts from Stack Overflow or by Tal
Published on 2010-05-05T09:20:08Z Indexed on 2010/05/05 9:28 UTC
Read the original article Hit count: 340

Filed under:
|
|

Hello, I'm studying ASM 8086 theoretically on highschool. (that means that I study ASM 8086 on a notebook, and never got to run it over a computer).

And I don't understand - what will happen if I do this:

MOV AL, F2h
ADD AL, 20h

What will the computer do? (what will be the value of AL,AX, CF,ZF?)

and what will happen if I do this:

MOV AH,F2h
ADD AH,20h

Thank you !!

© Stack Overflow or respective owner

Related posts about asm

Related posts about add