Please help with this problems thanks Assembler Language 1. In the following ins
ID: 3826253 • Letter: P
Question
Please help with this problems thanksAssembler Language 1. In the following instruction sequence, show the changed values of AL where indicated, in binary mov al, 11001011b and al, 00111011b a. mov al, 4Dh and al, 69h mov al, 00101100b or al, 84h i C mov al, 91h xor al, 57h 2. Show the changed values of AL where indicated, in hexadecimal: mov al, oACh not al a mov al, 5Bh and al, 44h b mov al, 96h or al, 52h mov al, 62h xor al, 0B5h d 3. Show the values of the Carry, Zero, and Sign flags where indicated: mov al, 00110011b test al, 4 CF ZF SF mov al, 4 cmp al, 5 CF ZF SF mov al, 6 cmp al, 7 CF ZF SF 4. Code a single instruction that clears bits l, 3, and 4 in the AL register. 5. Write code to jump to LI: when either bit2 or5 is set in the DL register (do not modify DL
Explanation / Answer
1. a)mov al,11001011
and al,00111011
answer:00001011
b)mov al,40h
and al,69h
answer:01001001
c)mov al,00101100
or al,84h
answer:10101100
d)mov al,91h
xor al,57h
answer:11000110
2)a)mov al,0ACh
not al
answer:53h
b)mov al,5Bh
and al,44h
answer:80h
c)mov al,96h
or al,52h
answer:D6
d)mov al,62h
xor al,0B5h
answer:D7
3) mov al,00110011
test al,4
answer:CF=0,ZF=1,SF=0
b)mov al,4
cmp al,5
answer: ZF=0,SF=1,CF=1
c)mov al,6
cmp al,7
answer:ZF=0,SF=1,CF=1