x 86 Family and Microcontroller
x 86 Family and Microcontroller
2) 80286 :
a) It is 16 bit microprocessor.
b) This processor used in multiuser and multitasking operating system.
c) It has 16 bit data bus and 24 bit address bus.
d) In 1984 , IBM introduced PC/AT (Personal Computer / Advanced Technology) version of 80286.
e) It can address upto 1 Mb memory in real mode and 16 Mb of memory in protected mode.
f) The ability to work upto 1 Gb of virtual memory.
3) 80386 :
a) It is 32 bit microprocessor.
b) It is a logical extension of 286 and highly pipelined.
c) The instruction set is superet of other families.
d) It has 32 bit data bus and 32 bit non multiplexed address bus.
e) It can address upto 4 Gb physical memory.
f) It will be worked in two mode page mode and non paged mode.
1..
4) 80486 :
a) It is 32 bit microprocessor.
b) It has 32 bit data bus and 32 bit address bus.
c) It has large integral circuit which contains built in math coprocessor, Memory Management Unit
( M. M. U. ) and 8 Kb of cache memory.
d) It has DX and SX versions.
e) All 486 processors have 32 bit data bus. SX version does not have on chip numeric coprocessor.
f) It has faster clock speed ,internal pipe lines architecture and use of reduced set instruction
computer. (RISC)
g) It has 486 DX2 and DX4 version with double and triple clock speed.
5) Pentium or 80586 :
a) It is 64 bit microprocesor.
b) It has 64 bit data bus and 32 bit address bus.
c) The use of superscaler architectutre incorporates dual pippe lined processor, to perform more
than one instruction per clock cycle.
d) Both data and code on chip to improve the speed.
e) Use of branch prediction that pentium makes an educated guess where the next instruction
following a conditinal instruction.
3..
Q. 9 : Explain the programming model of X-8 family with 16 bit and 32 bit version.
15 8 7 0 31 16 15 8 7 0
GS
31 16 15 0
4..
Q. 10 : Draw a neat labelled diagram of flag registers of 8086 microprocessor.
Ans :
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
U U U U OF DF IF TF S Z U AC U P U Cy
Cy - Carry Flag
P - Parity Flag
AC - Auxilliary Carry Flag
Z - Zero Flag
S - Sign Flag
TF - Single step Trap
IF - Interrupt Flag
DF - Direction Flag
OF - Over Flow Flag
31 ............ 18 17 16 15 14 1312 11 10 9 8 7 6 5 4 3 2 1 0
Reserved A C VM RF O NT IO PL O D I T S Z A P C
5..
Q. 6 : Select correct alternative and rewrite the following.
1) Data bus of 80286 MPU is of size ______
a) 8 bit b) 16 bit c) 32 bit d) 64 bit
Ans : c) 16 bit
2) The maximum physical memory can be addressed by 80286 microprocessor is _____
a) 640 KB b) 1 MB c) 16 MB d) 4 MB
Ans : c) 16 MB
3) The duty 32-bit microprocessor from the following is _____
a) 8086 b) 8085 c) 80386 d) 8056
Ans : c) 80386
4) 80386 is a ______.
a) 8 bit microprocessor b) 16 bit microprocessor
c) 32 bit microprocessor d) 4 bit microprocessor
Ans : c) 32 bit microprocessor
5) Intel 80586 was introduced in _____
a) 1978 b) 1993 c) 1996 d) 1984
Ans : b) 1993
6) Which of the following microprocessor does not use multiplexed data / address bus ________
a) 8085 b) 8086 c) 80386 d) 80186
Ans : c) 80386
7) Pentium process has _______ bit data bus and _______ bit address bus.
a) 64 , 32 b) 32 , 64 c) 32,32 d) 16,32
Ans : a) 64 , 32
8) The microprocessor 8088 is a _______ bit processor.
a) 8 bit b) 16 bit c) 12 bit d) 64 bit
Ans : b) 16 bit
9) The processor 80386 falls in ________ generation of MPU.
a) first b) Second c) third d) Fourth
Ans : d) Fourth
10) In flag registers of 8086 _______ bits aur unused.
a) 4 b) 5 c) 6 d) 7
Ans : d) 7
6..
Microcontroller
Q. 1 : Explain the features of 8051 microcontroller .
Ans : The following are the features of 8051 microcontroller .
1) An 8 bit ALU
2) 4 k x 8 ROM ( or EPROM)
3) 128 x 8 RAM
4) Dual 16 bit timer event counter
5) 32 I/O lines ( Four 8 bit I/O ports)
6) Address 64 k bytes of program memory
7) Address 64 k bytes of data memory
8) Powerful 111 instruction set
9) Full featured serial port
10) Upto 12 MHz clock frequency
11) Two external interrupt
Q. 2 : What is microcontroller ? State its applications.
Ans : 1) Microcontroller is a complete microprocessor system consisiting of microprocessor and limited amount
of RAM , ROM .EPROM and I/O.
2) This system is built on a single integrated circuit.
3) The microcontroller is used to perform control function.
4) It is fully implementred of a standard microprocessor.
Application of microcontroller:
1) It is used as slave in distributed processing.
2) They are used as machine tools , chemical processes, , medical instrumentation and sophisticated
guidence control.
3) Many low cost products such as electronic toys , microwave ovens, VCR are based on microcontroller.
4) A home security system.
5) A tape deck system and Intelligent multimeter.
6) It is used in personel keyboard.
Q. 3 : Comparison between microcontroller and microprocssor.
Ans :
Microcontroller Microprocessor
1) It is chip which is called single chip computer. 1) It is general purpose device which is called a CPU.
2) It includes RAM , I/O ports , ROM , Timer in 2) It do ot contain RAM , I/O ports , ROM , Timer
single chip. in single chip.
3) It has no advantage of desiging RAM, ROM and 3) It has advantage of desiging RAM, ROM and I/O ports.
I/O ports.
4) The cost is less. 4) The cost is more.
5) It has more I/O components. 5) It has less I/O components.
6) It can be used in many intelligent and low cost 6) It can not be used in intelligent and low cost products
products. 1..
Q. 4 : Explain 8051 memory mapping for 8051 microcontroller with the help of diagram.
Ans :
FFFF FFFF
FFFF
Upto 64 Kbytes
Upto
of external ROM
64 Kbytes Upto
or EPROM
of 64 Kbytes
external 0000 of
ROM external
or FFFF 00F8 Special - function RAM
Upto 4 Kbytes
0080 Registers
EPROM of external ROM
007F 128 bytes
or EPROM 0000 RAM
0000 0000
0000
4) 8052 AH-BASIC
1) This is another form of 8052.
2) This special 8052 has BASIC programming language in ROM.
3) Using BAISC instruction programer can write instructions rather than assembly language.
3..
4) ______ is a microcontroller.
a) 8086 b) 8051 c) 8088 d) 80286
Ans : b) 8051
5) The 8051 internal ROM is _______ of ROM in the program memory space.
a) 4 kbytes b) 8 kbytes c) 16 kbytes d) 32 kbytes
Ans : a) 4 kbytes
6) 8051 microcontroller has instruction set of ______ instructions.
a) 111 b) 72 c) 74 d) 100
Ans : a) 111
7) The 8051 is a _______ generation microprocessor.
a) second b) first c) third d) fourth
Ans : a) second
8) Intel 8051 microcontroller has _____RAM.
a) 128 * 8 b) 4K * 8 c) 64 * 8 d) 8K * 8
Ans : a) 128 * 8
9) ______ is not a characterstics features of 8051 micrcontroller.
a) 4 kbyte of internal RAM b) 4 kbyte of internal ROM
c) 4 parallel bidirectional I/O port d) full featured serial port
Ans : a) 4 kbyte of internal RAM
10) The 8051 internal ROM is _____
a) Found in the data memory space
b) Used to store variable program data
c) 4 kbytes of ROM in the program memory speace
d) All of the above
Ans : c) 4 kbytes of ROM in the program memory speace
11) The 8051 microcontroller pan address ______program memory.
a) 8 k byte b) 16 k byte c) 32 k byte d) 64 k byte
Ans : d) 64 k byte
12) 8051 microcontroller IC have ________ number of 8 bits I/O ports.
a) 1 b) 2 c) 4 d) 8
Ans : c) 4
13) _______is a characerstics of features of 8051 microcontroller.
a) Four 8 bit I/O port b) Two 8 bit I/O port
c) 4 Kb RAM d) Four External Interrupts
Ans : a) Four 8 bit I/O port
4..
14) 8051 has _________RAM.
a) 128 bytes b) 34 kbytes c) 1 kbytes d) none of these
Ans : a) 128 bytes
15) The additional feature of 8051 microcontroller over 8085 microprocessor is that , it has additional _____
a) Internal RAM only b) Internal ROM only
c) 16 bit ALU d) Both Internal RAM and ROM
Ans : d) Both Internal RAM and ROM
16) ______ IC consists of internal RAM.
a) 8080 b) 8085 c) 8051 d) 8086
Ans : c) 8051
17) 8051 has clock upto ________ frequency.
a) 12 MHz b) 4 MHz c) 9 MHz d) 6 MHz
Ans : a) 12 MHz
18) The 8051 microcontroller has an ALU of _______ bit capacity.
a) 8 b) 16 c) 32 d0 64
Ans : a) 8
19) In 8051 size of internal ROM is _________.
a) 4 KB b) 2 KB c) 8 KB d) 16 KB
Ans : a) 4 KB
20) Which of the following is not a part of an 8051 single chip microcontroller.
a) 4 kbytes of ROM b) Dual serial port c) 128 byte RAM d) Four 8 bit I/O port
Ans : b) Dual serial port
21) Internal data memory of 8051 microcontroller is __________
a) 128 bytes b) 128 kbytes c) 256 bytes d) 4 kbytes
Ans : a) 128 bytes
22) ________ is microcontroller chip.
a) 8080 b) P-IV c) 8052 d) 8086
Ans : c) 8052
23) __________ is a microcontroller.
a) INTEL 8085 b) INTEL 8086 c) INTEL 8052 d) INTEL8008
Ans : c) INTEL 8052
24) Microcontroller 8052 has _______ external interrupus.
a) 2 b) 3 c) 4 d) 5
Ans : b) 3
25) Microcontroller 8052 has _______ bytes of RAM.
a) 64 b) 128 c) 256 d) 32
Ans : c) 256
5..