Kuliah 5
Agus Virgono
agv@stttelkom.ac.id
Flag Operation
Carry
1
1
1
1
1
1
0
0
0
0
0
0
1
1
1
1
FE
1
1
0
0
0
0
0
0
0
FE +
1 FC
Carry bit
Tracing Instruksi
Address
Code
Command
AX
CS
IP
Z C V
0000
135B 0100 0 0 0
CS:0103 05 01 00
CS:0103 05 02 00
135B 0106 1 1 0
135B 0106 0 1 0
Borrow
Tracing Instruksi
Address
Code
CS:0100 B8 4C FF
Command
AX
CS
Z C V
0000
135B 0100 0 0 0
IP
135B 0106 0 1 0
Overflow
+144
0
0
1
1
1
0
0
0
0
0
0
1
1
0
0
1
1
0
0
0
0
0
0
0
Tracing Instruksi
Address
Code
Command
AL
00
CS
IP
Z C V S
135B 0100 0 0 0 0
CS:0100 B0 4C
Mov al,4C
4C 135B 0102 0 0 0 0
CS:0102 04 44
Add al,44
90
135B 0104 0 0 1 1