0% found this document useful (0 votes)
10 views11 pages

Practical 6 and 7 Cs 2

The document appears to be a technical description of assembly language programming, focusing on operations involving registers and memory addresses. It includes instructions for moving data, performing arithmetic operations, and managing control flow through jumps and subroutine calls. The content is heavily formatted with hexadecimal addresses and assembly commands, indicating a detailed programming guide or reference.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views11 pages

Practical 6 and 7 Cs 2

The document appears to be a technical description of assembly language programming, focusing on operations involving registers and memory addresses. It includes instructions for moving data, performing arithmetic operations, and managing control flow through jumps and subroutine calls. The content is heavily formatted with hexadecimal addresses and assembly commands, indicating a detailed programming guide or reference.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

3203H

’ 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

Q004 Q00Q a000 Addeu chantode OP RST


Q00S QO03 Q001

47 32 00 3A 00H

Start

LDA C00HMVI
MOVB,A
320DH

Couteuts Joac 0DHto


ato'
B. r to Moethe Latunlatox
paidatata agistor ounlay
er
C. (omeut Page37
No.
2200H. tae
Page No. 38 Page No. 2 9 |

dlog agitos tabe: Coumeut.


fabelMneunoice
Addnes Hodiode
Du D D, 3201H oad accumlates
Ac bo 90 LDA duectly wita
P
dala pouted
Q006 3A
by 320lH.

O308
Q007

32
MOve Colteuts
HOO 57 MOV DA ouulatox

6005
MVI A,DOH
Move in nedake
Q00A 00H to the
atulator

Q00B 00

A,8 vOM 2008 Li ADD B Aeld coutek


xegistor B
aitth aruulato
Page No.

Adden Hexiodelabel Mueuwoiu Cowueut

a00> I5 DCR D Deneuet


osp couwer

Q00E C2 JNZ LIump ou.

Q00P

20

JNZ L2 ump eu

Q012

INR C xeuet
Canxy ceWLter
Page No. 43

JAddue HexLode Kabe Mneuou Comneut

Q015 32 StA 320&H Ctore te

alnulatox.

aculmulator
to 3a02H.

Q016 02

32

Qo18 79 MOV A,C nove CaRky.


Counter to acc
Q014 32 STA 3203H Aore the

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

Movemediate 004 to g daugle Bacgaue


B wit
CowqareoreunulatorCoutut
Cdivio coneprad
lLxI
Mov
H, 30604
BM
diideud H
MOV AM
INX
A, l MVI G00H
CMP
NO
accumlato SUB B’Le
|ubtsact Co uteut
|NR
MOV
A ut quoit eut Coutes by 1 in gl INX
MOV M,C
Cowpare toteut ug B witu accuuulat RST
Ompare aemoiuder Cnew diidenel) ith
diuiso
Page No.
Page No.
49|
A

Ne
Comeut
Hueeouics
AJ Hexode lale
ND
Addren LKIH3O60M Set ewwy

More ault rDm auwlato to 3000


21 Atart par eqisto to
(rewaind 3060 H

JrMentiH
Heve 300|
(otent
300 2 30

MOV B,M Move t e


3003
tue
memo
qutor B.

INKH Turneuk
23
3004
Hpaik xegitor

3005 Mov A, M Move e

aClunulator

3006
Page No. S
Page No.

Registo r Value Mueumo wieA Comueut


A
laee
B
304
Hezeede uumediae
C |Adeea Move
MUI G,00H
H 3007 lst auotieut
304 CoLuwtRr to
63H

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

Hexade Hueuwuoia Cowmeut

B00E INRC IuueuaeLt


quatitut

300 B& Couupane the

QlHLMlator
Lceuipare
Ansaladin ui he
Aiior
3010 JNCL aunp
Carty add tu

30ll

3012 30

3013 11 L NOV MA Move


Page No. GS

Addran Hertode Nueunws CounLeLt

2014
pain kigiakox

3015 MOV M.c Move hue coutcut


quctat

3016 Step Stop the

Ret
|Tuput data
3060 H e 304
306H qoH

Oukput Aata
30624 - 004
27 306 34 > 03H

You might also like