|
Варианты для выполнения практической работы
|
səhifə | 6/6 | tarix | 11.05.2023 | ölçüsü | 325,68 Kb. | | #111095 |
|
Варианты для выполнения практической работы
№
|
A+B
|
A-B
|
|
|
1
|
a = 01 b =12
|
a = 01 b =12
|
a = 01 b =12
|
a = 01 b =12
|
2
|
a = 02 b =22
|
a = 02 b =22
|
a = 02 b =22
|
a = 02 b =22
|
3
|
a = 03 b =32
|
a = 03 b =32
|
a = 03 b =32
|
a = 03 b =32
|
4
|
a = 04 b =42
|
a = 04 b =42
|
a = 04 b =42
|
a = 04 b =42
|
5
|
a = 05 b =52
|
a = 05 b =52
|
a = 05 b =52
|
a = 05 b =52
|
6
|
a = 06 b =62
|
a = 06 b =62
|
a = 06 b =62
|
a = 06 b =62
|
7
|
a = 07 b =72
|
a = 07 b =72
|
a = 07 b =72
|
a = 07 b =72
|
8
|
a = 08 b =82
|
a = 08 b =82
|
a = 08 b =82
|
a = 08 b =82
|
9
|
a = 09 b =92
|
a = 09 b =92
|
a = 09 b =92
|
a = 09 b =92
|
10
|
a = 0A b =A2
|
a = 0A b =A2
|
a = 0A b =A2
|
a = 0A b =A2
|
11
|
a = 0B b =B2
|
a = 0B b =B2
|
a = 0B b =B2
|
a = 0B b =B2
|
12
|
a = 0C b =C2
|
a = 0C b =C2
|
a = 0C b =C2
|
a = 0C b =C2
|
13
|
a = 0D b =D2
|
a = 0D b =D2
|
a = 0D b =D2
|
a = 0D b =D2
|
14
|
a = 0E b =E2
|
a = 0E b =E2
|
a = 0E b =E2
|
a = 0E b =E2
|
15
|
a = 0F b =F2
|
a = 0F b =F2
|
a = 0F b =F2
|
a = 0F b =F2
|
16
|
a = 0E b =E2
|
a = 0E b =E2
|
a = 0E b =E2
|
a = 0E b =E2
|
17
|
a = 0D b =D2
|
a = 0D b =D2
|
a = 0D b =D2
|
a = 0D b =D2
|
18
|
a = 0C b =C2
|
a = 0C b =C2
|
a = 0C b =C2
|
a = 0C b =C2
|
19
|
a = 0B b =B2
|
a = 0B b =B2
|
a = 0B b =B2
|
a = 0B b =B2
|
20
|
a = 0A b =A2
|
a = 0A b =A2
|
a = 0A b =A2
|
a = 0A b =A2
|
21
|
a = 09 b =92
|
a = 09 b =92
|
a = 09 b =92
|
a = 09 b =92
|
22
|
a = 08 b =82
|
a = 08 b =82
|
a = 08 b =82
|
a = 08 b =82
|
23
|
a = 07 b =72
|
a = 07 b =72
|
a = 07 b =72
|
a = 07 b =72
|
24
|
a = 06 b =62
|
a = 06 b =62
|
a = 06 b =62
|
a = 06 b =62
|
25
|
a = 05 b =52
|
a = 05 b =52
|
a = 05 b =52
|
a = 05 b =52
|
26
|
a = 04 b =42
|
a = 04 b =42
|
a = 04 b =42
|
a = 04 b =42
|
27
|
a = 03 b =32
|
a = 03 b =32
|
a = 03 b =32
|
a = 03 b =32
|
28
|
a = 02 b =22
|
a = 02 b =22
|
a = 02 b =22
|
a = 02 b =22
|
29
|
a = 01 b =12
|
a = 01 b =12
|
a = 01 b =12
|
a = 01 b =12
|
30
|
a = 0F b =B2
|
a = 0F b =B2
|
a = 0F b =B2
|
a = 0F b =B2
|
Пример программы
Адрес
|
Мнемокод
|
Код
|
Комментарии
|
0000
|
MVI B
|
06
|
B←05
|
0001
|
05
|
05
|
01
|
0002
|
MVI A
|
3E
|
A←02
|
0003
|
02
|
02
|
02
|
0004
|
SUB B
|
90
|
A ← A-B
|
0005
|
STA 0900
|
32
|
0900 ← A
|
0006
|
00
|
00
|
00
|
0007
|
09
|
09
|
|
0008
|
HLT
|
76
|
Конец программы
|
Dostları ilə paylaş: |
|
|