MANZIL
|
METKA
|
MNEMOKOD
|
KOD
|
IZOH
|
0000
|
|
LXI B 2000h
|
01 00 20
|
M (BC) ← 2000h
|
0003
|
|
MVI D 13h
|
16 13
|
D ← 13
|
0005
|
М1
|
MVI A 25h
|
3E 25
|
A ← 25h
|
0007
|
|
OUT 00
|
D3 00
|
PORT [00h] ← A
|
0009
|
|
LDAX B
|
0A
|
M (BC) ← 2000h
|
000A
|
|
OUT 00
|
D3 00
|
PORT [00h] ← A
|
000C
|
|
INX B
|
03
|
M (BC) ← BC+1
|
000D
|
|
DCR D
|
15
|
D ← D-1
|
000E
|
|
JNZ 0005h (М1)
|
C2 05 00
|
if (! Z ) PC ← 0005h
|
0011
|
|
HLT
|
76
|
Конец программы
|
Dastlabki ma’lumotlar (tsiklga kiritilgan)
Jadval 10.3
Yuqoridagi dasturga tsikl tomonidan berilgan dastlabki ma’lumotlar
Dastur natijasi
Do'stlaringiz bilan baham: |