0% found this document useful (0 votes)
8 views

MAA

The document outlines various aspects of microcontroller architecture, including features such as memory types (RAM and ROM), addressing modes, and instruction sets. It discusses the differences between Harvard and Von Neumann architectures, as well as specific assembly language instructions and their applications in microcontroller programming. Additionally, it provides examples of addressing modes and assembly language constructs relevant to microcontroller operations.

Uploaded by

abhibajgude03
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)
8 views

MAA

The document outlines various aspects of microcontroller architecture, including features such as memory types (RAM and ROM), addressing modes, and instruction sets. It discusses the differences between Harvard and Von Neumann architectures, as well as specific assembly language instructions and their applications in microcontroller programming. Additionally, it provides examples of addressing modes and assembly language constructs relevant to microcontroller operations.

Uploaded by

abhibajgude03
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/ 10

M

W
E
VOUVA

Assigment

Eour features micro Controllerr


List
prOceJJdr with g bitdata
bus
Rom and RAM
4kB byter

532 Pn (4Portr)
16- bit timers Countera.

ard mícroon
miroproceI0 0Y
brolle

Compare beteen
mícenYalley
Ana Parmprr

Lmemay Ooer nat hove builtHus bui-n RAM


n mmary :prnal Gnd Rom Jelosh
Yam

built hmer Indlude buit in bimer


2Tmexa No b o

of RAM dnd Rom of


3SpeiEythe s2 ínternal

micro conbnllpr
has
Ans Thp S051 mteA
In teYng) RAM by Eer
Iarerna) Rom
Neuman qrchitehe
and Van -
5Compor? Harvad
Lomplezíty pepd
memoy buser NPuman
Von-
HoY
Ans Porametor
Seprate
Yad

memary
1 Shael
iostructien
memy
YPquired
M
Page Ho

Datel YoUVA

Stprate buserax Sinylr. bu foy


i0sucban data on
date and lnshuchs

Complwety maYcomple dup toSimpler desisn


sepurae memary andítha unifed Apg
|burer

Spred Farter Slower.

5Skebch formate
the of SCoN and PCoV SER
SCON Cenbol Rgistey )
Smo Sm REN
Sexía)
madhe bitr Reucptien bt for |Fox Aecepbse nterruet Lntefrgupt
Flay
Flag

pcorN CPowpr Conol Reyster)


Smon
Grfo An
Doublp Saudl Besey pd pngral -p Powpr -Dowy 1dle made
Rake bit
|Urp osp Ela, mod bitl &it
YOUV
ste
vOUVA

Assigmnt - 2
for
shuchn Dxaw the fonat o PSW XRgigler Gnd setp thp
Cach bit
otrt For mat Psw
ní Ang Ac
hrd Rsl
S 2 D

Functiun each bit

qYíth mebíc opgrations


SER DCY
AC-
Carry
Auzilí åy
elay
Carey
BCO operotien.

3 FO- u5pY deinta Elag.


Sele c YRgisLor banksCo to 3)
arithmptfe opexabon

n úrp d.

e- arity Glag

2 Esplajo Boolpan proCefgor oP .05)hth


CAample
Pp Tn Ang Boolean proceao oY
mícyo Conhrollor har q dpdicoted
The mftunn

bostean proceSOr that allow ethient bit lPvel

índivídua) bit of Jpeáal funchen


operatím dive ctly
Gnd RAM
Canbrolling Gs Siogle LED
EAsnple
Co the
-cooneced
micreLo nholler

Code
CPL Comp lement teggle)

the bit P).0


tor wnHnq s qnswer
Refer notes
Meoion Lo cd inshu tt on )n example.
Pa

Date:

YOUNA

EAplanctien
The iegtrucon CPL iovextr
the
JEthp LED
turn Qnd Veroa

An

nte application or mnícroproCPJoOr


Ang Applícabon míropro CeIaoY.
cemputer laptap
2Smatphanp
3 Gramiag Consolpr
prolesring
6 Neknorhingdevice

Applicatin míreconboller.
DHame autemn ohun Conbol
vearable Technolagy

3 Toys and games


Smedical deviter.

Conbrolsytm
voUVA

Assigmen

Q LOercnbe the PowY addzessia4 madero Sos)


misaconeller nith Svitablb eranple

3 1Iomdiate ddresing- made


A
An
- The opeYnd irspecitied dicectly in thy Ingbuchua
ladiny Con-onts into
anh oY mpmery
Esamplp
Assembly
mov A +25 H

RO+1o
2 Begis tor Addressing mode
-he aperSnd of thp Yeqiror ot the
bunk.
selecked xegister
acceoRI Sntnal egistpr

directly
EAample,

0irecb Addxerring mode


qn np
- The opprund
RAM location oY q Speia) Fyncbun fegisboc.

Eg

mode
4Tadi recb Adorersing
stored in
The oddrerr operand
ke
reyisr
jeHo:

Date:

Uspt) For accerring eAterna) mimory

níth dynamik data

Example
mov ARo

2Esplain. worKiog Xc HD Daguthon hih A


Syatas Gnd EAample
Ang The XcHD oshuctran enchenger only the lo

nibblp ot thAccumulater hith the lowpir


hibblp RAM locatien Poinha
to by upper nibble
borh ma)n unchanged.
Syn
XHD A @RÍ

Ekampl2

A5 AH
Ar

Mov A
tSAH
Address
Ro hitb

3cH qt.
CHO
A@Ro
Betore
A5A
RO 3C
YOUVA
ML WTE
YauVA

AFter
aling
A SC

TEinitia Conteo of

ind oub Conlonk


ogtuction RRA
h Apo 54H
C Agsumpd):
byRAA
|Aoo
So
(22H)

tho C ontent 22 H

4Tdentifydicect addressin mode inu chien from

colloning hnnuction
Anr
Jovalid

b mov AL
Dicect Addreroing

Tmmpdite addrrrig made

Add resrsing made


Dite:

Asaigmen4
Define E+am
a Aemblec ms
Ans An asaembley 4SoPkarp to al Yeh
that
arsembly 1oto en
language program machine
that Cade
a procP
Can
ehecute.

b
Comphec
A Compilpr Softharp tool Fhat any
high levp)pragramming languayp ínto
machine Code that

2ORSCabp thp Folloning a0 tembler


Pacha

oRG the ctarhag


Godsers ot Dhp Code Qnddota
to Eell th qsirnbler uhe bo

place the alloniny insbectbon


Ekample
ooH
Moy A #oEh
b 0B Defae byte Disecbue)
DG directive Ang
byte
mPmory
Commanly ujed fur
charachY sbyingContsn
chingr look up tabler
M W 1

A
YouVA

Etam pl

ORTA
msG
xehrn

cEND thu end


directi marks of Hhe

QsItmbly pgYam
- Aay Larbuctiey wYítken EN
lgonered by the aTSembley
Ekample
A H SH
Ex0

-The EQU diech qgs)4ng q constahh Value

lable
dops not allocat mnany bwt hrlar

code Gnd eusebili hy

EKenple.

CourT
may RO #CoUN.

arembly languagp pegn ror mulp


8 bít numbr of
Flow chast and wie
Ano Alewchat
Starh

Lod o3 H ato
MTWT
Puge No

Date

Flowchust
Stort

Loud

into B
Load

A und G
mulhely

E ND

Asoumbly Gode
ORGT

moy 3oHA
mov
END

Keat
byte >O6 H

bytr

You might also like