the carry flag issue!
- by Zia ur Rahman
Suppose AX =FFFE and BX=1234
now if we write cmp ax,bx
(bx will be subtracted from ax and the approprite flages will be updated)
now the binary representation of the numbers in ax and bx is given by
AX = 1111 1111 1111 1110
BX= 0001 0010 0011 0100
As bx will be subtracted from ax so we have to negate bx (as…