Practical 6 and 7 Cs 2
Practical 6 and 7 Cs 2
’ SA
CA, Mov
’le 3202H STA
JNC
(z:0)NO
yea
DCR
BLL ADD JNO
00H A (z:0)
DA gunp yea
MOV
mipliw 320lH LDA
B,A MOV
Deoremewt
Mulipliant 3200H CDA
C,00H MVI atcunulakor wita) xgistor o
Cowenk Ahe Add
acumuulator to00Hinuediate Move
(onteuti Move
Begining 3202H Sotakou
32014. bypout
Hue Stoe 3200H Juou Aaxki data tue witu diaetty ocauudako doad
docatian enony
do
aeqistorB. aumulabor coguta
o the Move
y tuat laugi anlaly
puogAaaÁA
RORS aklrite 32004.
Mulkaliakou data the utta Aetyaumulako, Jodd
he
00H C
toregistor couker
in Cawy the st
(Stat)
lowhant
35 No. Page 34 No. Page
A Page
36
No.
Regiuts
dabla:
Regstors
B A
aalor Stoe
Move 320Q to nvament
Caythe
00 Value te the
0|
3203H to cay slaut
Step A
(outey i
atunlaor
fo CQwer
arcunulaor
47 32 00 3A 00H
Start
LDA C00HMVI
MOVB,A
320DH
O308
Q007
32
MOve Colteuts
HOO 57 MOV DA ouulatox
6005
MVI A,DOH
Move in nedake
Q00A 00H to the
atulator
Q00B 00
Q00P
20
JNZ L2 ump eu
Q012
INR C xeuet
Canxy ceWLter
Page No. 43
alnulatox.
aculmulator
to 3a02H.
Q016 02
32
accunlator to
303H.
QoLA 03
Q01B 31
Er
Step RST 5 Stop the
Page No. 4S
Reuut
|uput bata
3200 H EP
3a01 H 02
s+lG=32
Output data
3a 0QH EP
303H =
X 0000 001Ó
comy o)
Page No. 4 7
Page No. b
Stat
St iloslhg
H paix xeqitor to
30604
Move e
iu R085 amsenbly
nal
a diides lbyta hoadeu
praqraua
Wrik that are store
aguage diuidend
Ju vunmet Hpain divior aud
ugiator ay mo. shere
aud
Hhe buuaude docaion Stat
Moue Coukus e menoy o aeunulato 306DH Stoue
te mueetine e y
|dueenmeut he
Ne
Comeut
Hueeouics
AJ Hexode lale
ND
Addren LKIH3O60M Set ewwy
JrMentiH
Heve 300|
(otent
300 2 30
INKH Turneuk
23
3004
Hpaik xegitor
aClunulator
3006
Page No. S
Page No.
A
N
Ac P
bo 3008 Couupane the
CMP B
cOWtelt
3004
aluinulato
JC L
30DA dA
AddrM to
300 B t3
300 c 30
300 SuB.B
Page No. K3
QlHLMlator
Lceuipare
Ansaladin ui he
Aiior
3010 JNCL aunp
Carty add tu
30ll
3012 30
2014
pain kigiakox
Ret
|Tuput data
3060 H e 304
306H qoH
Oukput Aata
30624 - 004
27 306 34 > 03H