|
|
səhifə | 2/2 | tarix | 23.06.2023 | ölçüsü | 1,62 Mb. | | #134362 |
| BAXODR
2-Variant
1.Blok sxema
H
А
Boshlash
D 13h
A 25h
MONITOR (00) A
A (BC)
MONITOR (00) A
BC [ABC0h]
(BC) + 1
(D) – 1
D ≠ 0 – ?
Yo’q
Tugatish
2.Programma kodi
Manzil
|
Mnemokod
|
Kod
|
Izoh
|
0000
|
01
|
LXI B
|
M (BC) ← 2000h
|
0001
|
AA
|
XRA D
|
|
0002
|
AA
|
XRA D
|
|
0003
|
16
|
MVI D
|
D ← 13
|
0004
|
07
|
RLC
|
|
0005
|
3E
|
MVI A
|
A ← 25h
|
0006
|
25
|
DCR H
|
|
0007
|
D3
|
OUT N
|
PORT [00h] ← A
|
0008
|
00
|
NOP
|
|
0009
|
0A
|
LDAX B
|
M (BC) ← 2000h
|
000A
|
D3
|
OUT N
|
PORT [00h] ← A
|
000B
|
00
|
NOP
|
|
000C
|
03
|
INX B
|
M (BC) ← BC+1
|
000D
|
15
|
DCR D
|
D ← D-1
|
000E
|
C2
|
JNZ
|
if (! Z ) PC ← 0005h
|
000F
|
05
|
DCR B
|
|
0010
|
00
|
NOP
|
|
0011
|
76
|
HLT
|
Tugatish
|
3.Dastlabki Ma’lumotlar
AAAA
|
AAAB
|
AAAC
|
AAAD
|
AAAE
|
AAAF
|
AAB0
|
|
|
|
|
|
|
|
“T”
|
|
|
|
|
|
“N”
|
KIBERXAVFSIZLIK
Dostları ilə paylaş: |
|
|