0% found this document useful (0 votes)
19 views5 pages

Assembly Language Data Operations Guide

Uploaded by

AKASH P
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)
19 views5 pages

Assembly Language Data Operations Guide

Uploaded by

AKASH P
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

c

Wa A

SUM
AandB nd Stoe the B e t at Ro omd
Co mmnt

-Mo R1#oo4
Mov A, #lLH ’load vahe to Repter A
Moy B # 22 H
AddAt B
ADp_AB. not

JNCL1 T CaeypTNat jarptou


TNcR1
LA'MpV RO, A
L2STMP L2

Wal SoS1
to s olext ti nmbees tor locahm

s8 334
tooi SSH

Resst
Goo2? 22 t aftean) Gra)
SoD2: bo tt Bo
uoy 9TR #Soot
AeATR MoUA, DPTR
MoV B, A
INC DRTR
MOKADPTR

LNC DPTR DR=DPTR+


DIPRelenee

MotoDTK,A. M tho eahon K002

ToAsesmt booro

MoV A RO
MoVx TR A
goo3)
L2:STup L2

SUBS A,9
B>A Rerutts

OF
6
NC DPTR
MONAADD?TR tt
MULAB
Go02eootz

MOVPPTRA

MOVA @DPTR, A

GDOO22
Boo, 33 PP
Peo|

ose owu

Rauaide at CSoo 3)
Dustauchou DIV AB A B
Afta Dui Qy- A
totAL

shad et beetous
Tonad amd the out ha to be stoud at

tocak
33 44
Bo00: 2 2,
og
oo2:441umbn cay
epi 2

Goo4i 66loLee bate


Goosi 44 ’ hi_hee byte PPFF

FFFF
DPTR |NC DPTR
bu ond DGC DPL.

wWate ALR toadd ten e bit wo e


S000ogo09, Sto ltat

CSou) CARRY)
MOV

Mov A, DPTR
Mou BA

MOV A,DPTR
ADD AB
JALCL
stoe cay
L1 o BA te Sum to B
loop
L3 STup L3

Soo6! 77
8301:8 8OoB03
oo 2 : 3 3

So0 3: 44 Eoo9L

You might also like