Download as pdf or txt
Download as pdf or txt
You are on page 1of 42

r

_/_ /

~:--C_µ~~~ ~~~ ~~- --- --- ---\


" Qh.5L :

➔ Tw__
;>
;
I

..-
...,
!'

'
i
~
-? ~

' ~
,•
"
' iJ
_/__/ _

.tr:
I
----1~~~,6_]_~-1J::::.~~~~~~~b.._~~~
:1A..! •

ij
r -
_ /_ /_

I
r

l
e~


I

I
_/ _/

- - - - - - - ; - -· ,.
~----L------------
r· _L I_

, wtJrolfrl,
t<-OM \A6
'
JJA

K tb
kD

fv\OV A-
oV Po
■ _/_/_
'.

\l Afb
E,11>'6
-n'~ ~ -

~

t
+-u-f


i
---):,

t -? :.

I ~
..
• "

► -
► -~ - - - - - -- -- - - -- -- - - - -·-·
_ /__/__

IN1E ~flU P1 Pb LL I N&1

h
0 ~ -h'~ I
I _ /_ /_


-r
•I
2(,

-

~


I
I

:
_/__/_ _
\
_/ _!
~
~
~I
~ / b
~ ~ ____, / .
f'l
,/
::;::::::::. "
~ rr-- L

A V c..
~
....,,
~

~
~ (

iiJif
,-,._
53
~
~ ,:-

·-
~

~
·~
~
0

-
-

~
1
a
a'I
-~
~
~

,sa
~
-·-
,
9

--
I

,,
..1

~r
• I

''
• I
1. What is a microprocessor? What is the difference between a
microprocessor and a microcontroller
2. Discuss the memory organization of 8051 microcontrollers.
3. What is bit addressable memory in the 8051
microcontrollers? State with an example.
4. Explain the alternate port functions of the 8051
microcontrollers.
5. Explain the following instructions for the 8051
microcontrollers:
DJNZ RO, HERE
SWAPA
6. What is meant by multiplexed lower-order address and data
bus?
7. What is the address range ofbit-addressable internal
memory of the 8051?
8. Write a binary word to be written into PSW of the 8051, to
select the register bank2 in the internal RAM.
9. What should be done to make a port an input port or an
output port?
10. What are the conditions for external memory access in the
8051?
11. What is the purpose of multiplexing the lower-order
address bus with the data bus for external memory access?
12. What is the difference in the timer lengths in mode0,
mode 1, and mode2 of 8051?
13. How can an external frequency be counted using the
8051?
14. Calculate the amount of time delay generated by the
Timer0 of 8051 with initial values TL0=F2H and TH0=FFH.
Assume that the crystal frequency is 12 MHz ..
15. What are the contents of the IE register upon reset, and
what do these values mean?
16. Show the instruction to enable the EXl and Timerl
interrupts of 8051.
17. Show the instruction to enable every interrupt of the 8051.
18. With a single instruction, show how to disable all the
interrupts in 8051 .
19. INT 1 pin of 8051 is connected to a switch, which is
normally high. Whenever it goes low it turns on an LED for a
fraction of a second. Write a program.
20. What is Arduino?
21. What is the microcontroller used in Arduino UNO?
_ [_ [_

4 ' ~

- -
- ~
- -
- -
- - -- -
' - - -
- - - -
~ ~ ~
\ . _- - ~
!.:..

tr
(i1 '
2FH I'

/(/t-M
L~. 2
-L

C
- - - - -- - -- -:c:
- - -- -
- - - t - -- - , - - - - - -
11
-- ~
II
.-.,
_/_ /_

~
~ ~
" ~
~'
llllll
~,

-~~~~=----~~:=::..._____:M
~ _· . Y . - \ = - - - ~ ~ ~ ~ ~ ~:.1--- ,~
_/ _/ _

., ,
l
I
• I
I

•· '

0 \
I
0

D
, ---
) J I
'
dJo"
I ~
:-,,
' I
~ _/_/_
►'-------1----------------------____] ~-

I
- _/_/_

bX{Yt) --
{ I ;-'

1 • ' .' • l I

I ' ;I
r

\1 I 'P , ~ I O·o o
• ..., I .
c, D
t \ • ~ I
1' I ~

'\ ' \\

_ _j__ _ _ _ _ _ _ _ J J ~ ~ ~ ~ ~ - _ _ : _ ~- J . . - - -- ~l
--~

~
l ,

LB.D

f'-1\1) \J it=
• MA-1 N '
)

rz
, r
'
.,
F
a (~(_Q_

;
;

\-a
.-2_\ ,

ttl
L

' '1
/
.
r
(

_l ' I

f ..... J. ~
I ., f} ,l I

I
l

, I _..
I ;

j •
. ' (

It 0-l
_ /_ / --

, .t t
_ /__ /_

- - - - - - -- •
=- --=----- -
- - ~- - - -- - I
I

UA t

'
ll - - '
~ t
_ /_ /_

I
_ /__ /__

so
2FH

\t
\ fH

f
.. ' .
\1
'
VF\-\

- =-
Jl!j
O"tH

~N 2• ~
Ilk_ .

~\S> p \~s
. . _Ii
~
(.L R \s
~ 0 ~
.....
~
~ ~
-~
~p • -a
\ .
., --..
llj - C
,
~
I I -
_/_ /_

.. rr

TLO V\11~

--
_ I
D.

-
~ si
_ /_ /_
_/_/_

\t) ' .

---P3 pz_

\ 2-· MO\J ,MO~ 0


1~ 0

l_L l'\=-D

II

\I
- /_ / _

~ .
r

\J

~
-~----....l.~~
~-~~~~
-- -, - -------
-:--;:-~=---~ --~
----=-~
I

~~~~~~~~~ LQ~ (";__ _~~


OW

On\.. L~
I ~
_/ _/ _

t t

~ER\A-L
PO R-TS.

I
I Po Pl. Pl t3
_/__ /_

fJ A&:-A+RO

WU

• t'v\\JL A

r-- --- --t_ _ _ _ _ _ _ ____._ .l::Al


::,.._~- - - : , - - - - - -____ _.!~

e-

• \G .

- - - r - - - - - - - - - -- - - ----:~
_ /_ /_

.. ~ ~+~
I
,

~~
.
~ .. '
' K·
!:=-)' • ~lH .°'-d_OOM
• ,
_/__ /_





=D · •

. I' '

'. At) t> A R_ \,· . LU- \ \ D \\ 0 0


\ \ L)
010

.
'
I I

L
_/ _ /_



7_
I ~ •

t •

~ FD

t, hl
~

~ Ac

A c~o

i

• I • I

\ ~

ti'\I\A.Q_

>
~
'111
tp
DS--=~
'Y11
\)~ I in
T,1
.--!.
"f1i

-
~
/_/_

You might also like