The code is:
.model small
.data
ar db ffh
.code
mov ax,@data
mov ds,ax
mov ah,00h
mov al,ar
mov bl,40h
clc
adc ax,bx
mov ah,4ch
int 21h
end
It is throwing error at line 3 saying
Symbol not defined:
ffh
I don't understand how isn't it recognising
a0h
which is just a hexadecimal number.- Also, please tell me whether at the end
ax
will store the sum with carry or sum without carry. Because I am confused about whetheradc
takes CF set by its own addition or from any previous instruction which last affected the carry flag.