You are on page 1of 6

21C030?

83
M-NDpo eerr)
tto me A
THu iva e -tue divect vegister sanmeuA
tndireot and
mpied
atressm INit suita de exowples
ADivect Addvessg
AVeny
ery Samplefonn of add1eseiis direot
ontans he eftedive.
in whwch the addes field
addves o f Me Operad
EA A
J + veguúves onu One wemby Y{erenee E no Specie

Calcul tDO.
Eq Mov AxCisa +1J
MD BL O100t
Oarand
opcodelAddrts|.

Addressin
WRegis ter Tndireet
opcode P oreran

Ven'slerset
Memoy
uddeAsiny, except thakthe
indireet
simlaAo tu tead
tytead bl a
of
T t is eters o
repisteu
tield
add
u

membry oca-torn
Vveferen
eferen ce
ce nnD
o
Me Mory
MeMOTY
yeguury bny b
Itre3
Speeial aleuletior)
EA- CP)
2 looo3o#88

LyADDALERX
MoV AY J
)mlred Addegsing Mvde nin the
CPeeia(red
Mode 1he
opevand
Tn4i lon
on
feclt tb bils
(or) tb bits
T huel ion ii r --b
bff t Cov)
data
mode
4he
In tus pavt oisucdion.
wlh
wrih sin plree
sinuplru
an d tthe
huotion
are i 19ned
addres

adnsin Mle
reuet anay
Plhgtoo)
hgto o)
to
C e used
En
do t h e tollbwîy
#olbiy
mode do the
addresy
whuch
Idenditn
Identftin

ud toN belbny
i
Mov Ax lt1)
2) PNC CsooHJ
&DB AX
BX
3
4) XoPAx ltooHJ
4)
S ) e t GAXBX
6) PUSH D
tlAL
) OUT 02
&)IMC (Lrj mde
ndiveetAddressim

S DPeister Mode
Addyessin
2 pivect Mode
Peister Add vusind mode
4) Direet A dd
yessi ny
AddSsing Mede
P is ter

uueiia
k Addesciy u ode
)
210003o988

Reiule ntect mede.


(hhgt ts subutine tlDuto nolle suboutine Calls
- ing ka cle
uga uyed o yep adlay
A
A A
A sel of i huctionu to as Sub
Sub routine
routine
(an be vefle cted
P Pvbgrawme
subouttnd y oU tau s t Push al
all he enenkt
Aeyou
Ater tove exeeutiy any
be
olsdh dnto the steeC Suboutine Can the
k the
s u k o u + t n e T A
buetbng in f t i n t l UAand ( ve
the
ter for
Aucall fhe 4 S te
vegts ba edthe
Mmain prgM Mted
deto tht
memDy ocation

T buetdn
uttt su ble
eal ubtuhhET
e t ustmettbr

zen Addrs Fu uoibn. opcda


4 huekton tormt
T contah K e y
Imuettbnn t
ero-Addres
E
E *Pun'A: Tos A
PusnA Add To AtB
Pusnc: To-C

Ad P hp: Tos D

App Tbs e ctP


MUL: Tbs CCAD)+ CAR)
Puak D PbP MCX)Tbs
Add
MUL
tore
210003083y

I A AotiYA T hut4 o)
-fovwmgt pcode ( MAdeu]
TH buetior) it 'CoMtain bne'nb o-t
Optral

g utio)
AddsS
THnt x Cc4D)
(AtR)
X-
FX MLA
AC M L AJ
OAD A: Mle
MAJ+
B: At
SToLE
AD MtJ AC
LOAD AC
ACeM[CJ

D: Ac MlCJ + M[DJ
ADD
AC
STOLE
MULT T: MLT
Miy ML7J*MlT

M:I MLTJ
STDEE T :

n uatio
Addes Add r s1Addvess 1Address
TwD ade
opcade Addnus
foytat: oBoperan
huetion nsTwd no
T buection ¬Mtai
Addres Jua
TuwD
CA)Cc+t)
MUJ
P A: R
R R t +M EJ
Moy
&:
Add f Ml<9
MoY' , C: ,
Pa At MJ
ADD RLD
MbL kz
MD XR MKJ
SouNe

CMP dutig tbD


CbUpae
CHL AX2
Chift left weuy
stte AY
chidt Pight 2
Podate é
PDL A
2/00303H

se4
raC h Iu buelion )ouI P oq
a lunco
lunco)
t h e Coplt
J is Motun b u amnt
when

Same
MD IVM po -tunctton ) eecu tes
sthe 1b-1he
1 oy
her d dh34 tine
ac
bac. u
ye-u ns
locatrin *
ff esult
then
ranch to
BEP X:
ESn: Poc-tie H
resuk
lotation
BEN Y: R rqnoh to Teult
1'
Merative X
lecatjo)
Rneh
to
ISkX * ove-foio

xif
erD
branch
to/btatt
BEbX

- 6Ceus

Tmstucttnsel- an
a n
Cbr tol huth
W keh
thsL
t hL
plem aveCan betyLd only
mnd olly
a re
iuhuehion
Conhol an
be
Suste avol 1t
s4emSettin

wd tor
tor the
the
?

t a le ruev ved
ed
#or
re Vidaged Hons are
vesez

rthere iKhue
Tepialy

Three Addres Intyuekion 2 lMdres


vess 1
AAA rees
Add
opcodeCottain Three'nD 6f
b
torma E: Thee o
Tnahuetion Coytains

Iwuelsor
Address
Three

Opeand CC+0)
= tAtB) * M AS
EAS + [B]
MB?
t M
F 4M

ADD A,A , :
R MlcJ+ M[oj
P
ADD Cy Cy D
M62 , P
2103o8Y8

Anol con tysl


Kianeh
logtCal,
e he Ailhe wMg4ic, cianiple.
Tluha ble
with STta
Hution
cAion set
)Addess In hu
Add Add atb

Subho Sub ab
Multiply Mol Arb
piv A
i vide
RTLA
a bs
Abiolute AT kA
NegaHe
Tne A
TrCreMen
dec A
dee vemenE

set
Tns huatbn
togi ca
AND AALD A, R
OlD 1001
NOT NOT
010
EXeusie
2- 001/
36116
Test Tut AL dt
Sourte
detia ion
Comjare Cmp 2
SHL A
shI e 4
AX2

RoL AX 2
Potate Yeft
fol AN, 2

Pota te qht

You might also like