Professional Documents
Culture Documents
Lab Sheet6
Lab Sheet6
1. Fill the effected registers after execution of each instruction, if it’s required state the change step by step, and
manipulate the flags if it’s necessary. (Her bir komut çalıştırıldığında etkilenen registerların son halini doldurun, eğer
gerekiyorsa değişimi adım adım gösterin ve eğer gerekiyorsa bayrak bitlerini değiştirin.)
a. # AH AL BH BL CH CL DH DL C Z S O P A
MOV AL,38H ;1 0 00 00 00 00 00 00 00 00 0 0 0 0 0 0
ADD AL,78H ;2
1
DAA ;3
2
00 00 00 00 00 00 00 00 0 0 0 0 0 0
b.
MOV AL,0EEH ;4 4
ADD AL,1AH ;5 5
DAA ;6
6
00 00 00 00 00 00 00 00 0 0 0 0 0 0
8
c.
9
MOV BL,38H ;7
MOV AL,55H ;8 10
SUB AL,BL ;9
00 00 00 00 00 00 00 00 0 0 0 0 0 0
DAS ;10
11
12
d. 13
16
17
18