Can I sum different bits (8 bit with 16 bit) number in assembly?
For example;
sums proc near
mov ax,0280h
mov bh,30h
mov ch,20h
adc ax,bh
adc ax,ch
ret
sums endp
This code gives an error; “operant types dont match”
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.
Of course.