I am a newbie on assembly and probably this question has a very basic answer but i really can’t figure it out. As the result of this code AL gets the value FE. Why is not 00 ?
MOV BL,0ff;
MOV AL,0ff;
ADD AL,BL
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Because FF + FF = 1FE. So, AL will be FE, and your carry flag will be set (1).