Exanple of Acldressing
>To whow the alttpevence between various
acldrecsing mocles feb us 1ake dhe tise word
im dtorrctien “LOAD AC" stich occupied
the tise memory Locations, Urtth aclelresteg
ADO Aro} ZO! boy the Are Mre-MoT GT.
> hp memory loca®\on 200, Hie eopeocle
“LOAD AC” Awol thre mode cf acleloecsing
is present. Sn location ad) the valre
Akered if te Acldress of the epevane|
> Progyam Counter PC hat Wee value 200
fer petehing ALA EmAETUECE ON.
> fav ceaser regiater Ra contains the
value oo andl tlre imelen register XR
Contains thee value |d0
> Tle fiquve im the next page Lists a few
vyelevant addressees ANd Ahowt tre
Memory comtent a6 each Of Mrene
OclAvrerrses.
DThe mole field OF bre enstructien can
Apeceby any one of Aa Number of delelrecsiap
modes.
D fev each possible mocle the effective
Adelvese 64 calerileted Orce| thee opevane
thar moat be loaded ento AC.[ice] 30¥|
Adavese
of Memo7X),
Locations LOO
Pc aol
[PC +200 AoA
Ry a0?
_ XR i
7 399
ee) y od
Ac a
log.
Main Memory
| LeAD Ac |mope
| Aclelaess =500 |
Next Instruction |
i
a
:
9 .
Immecltate Address Mode.
dy this moele of aelelress< ng, the Address
fave of tle imstou ction is taken af tre
operand rather than tye aeldvess oF
Abe operane,
s OD:
Therefore, tre Value to be loasdeo) anty
AC
co)Regicker Mode;
gn this atode of aclelressing, the aclelrec
field ok the ematyucki en apectbies a
prrecersory regithey, wsbich contaens the
operand. ILevepore, the value to be lo acta}
int AC ig oo. (Becauae herve the FP eck
fred vegichey ca Ry durel it comtames the
value soo.)
Register Inclereck Mode:
Jn this mocle, the adelress part oF the
instruction contains Mie Aaololress OF
a processer rege hey have Ry), wlre
combaings thu acldlrese ok a memory loca
Hipn ctehive the operand ie Abb reel.
Tlevefere, tlre ope yvyane +o be Lodelee}
into AC ie 700 Checause Ry comtaens
yoo, whith es the Address Sf the main
memory Lo caki en).
Avtoincrement o7 Autoclecrvenent Moele;
dn this mode of adelrescing, tee operand
do be lLoacle into AC és A@ne ac Rogénter
inolirvect mode, Becarure, Hiro aclayece of
the proat operancl ef an araay of olata ig
Korec| to the procecser register. (her &)
63)There fore, tle eperane| tp be Lowel