0% found this document useful (0 votes)
31 views7 pages

Microprocessors and Microcontrollers Exam Guide

Good night
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)
31 views7 pages

Microprocessors and Microcontrollers Exam Guide

Good night
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

. I ~e:..

l l I I I I I I I I I I I
s-

(t) ~~l~!!~!~~!L\q~L!~1-!Si]
by NBA nt HAAC 'A+' I [Link] ISO 21001 :2018 41X1 ~1
Sal Leo Nagar, West Tambaram, Chennal • 600 2015 Celtified nt HIRF rried illUln •
:
044. [Link]
CONTINUOUS ASSESSMENT TEST
_I
\ Que stio n Pap er Cod e \~ 4 N\J 5, ~ 09 0 ~ \
Course Code - Nam e 20ESEC502- Microprocessors and Microc
ontrollers
Degree & Program : BE & CSE
Dat e of Exam : 20.08.2024 Year / Semester :UT N
Duration : 1 ½ Hours Max. Marks : 50
Answer ALL Questions
PA RT -A (tOx 1 = 10 Marks) K-
Leve\
co
1 The 8086 can operate in _ ___;modes
a)l Kl CO l
b)3 c)2' d)S

2 A digit of the binary number or cod e


is called as - - - - Kl CO l
a) bit b) byte c) word d)nibble

3 The basic functional block of a micropr


ocessor are Kl CO l
a) ALU b) register d)All the above
c) control unit
4 _ _ _ _flag_ is set if the size of
the results exceeds the Kl CO1
maximum range
a)Parity b)zero c)overflow d)Auxiliary
5 A 8086 microprocessor is of _ _ pins Kl CO l
?
a)l0 b)3 0 c)2 0 d)4 0
6 The clock frequency for 8086 can vary Kl CO2
from _ _ _MHz
a)2 -5 b)S-10 c)l0 -15 d)lS-20
7 For the maximum mode of operation, Kl CO2
the PIN MN/MX of 8086 is
tied to
a) Vee -- -- -
b)ground e)PIN 12 d)pin 5
8 The size of 8086 instruction is _ _ Kl CO2
_ _ bytes
a) 1 to 6 b) l to 8 c) 1 to 16 d) 1 to 32
9 _ _ _is the input signal that provides Kl CO2
the basic timing for 8086
a)CLK b)HOLD C)HLDA D)RESET
1o The group of conducting lines that carr Kl CO2
a)address b)CPU
ies data is _ __ \
c)control d)data \

K]' _ Remember;-K2 _ Understand; K3 - Appl


y; K4 - Analyze; KS - Evaluate; K6 - Create Page l of 2
~a,- .,tt1 11
---c:"'- ~u\UU .:._\IT ~l m&~ ~m.r i.\\W [Link] A I\IIL
\

K-
PART -B (10 x 2 == 20 Marks) .._CG
Leve]
11
What are the different flags available in the status register of 8086? K2 C01
12 ·
What are the different types of address1ng modes of 8086 instruction set? K2 co1
.
13 What is an Accumulator?
K2 COI
14 What are pointers and index. registers? K2 COI
15 What is stack?
"'
\
K2 COl
16 What is meant by Wait State?
17 What is the use of Ready pin? L
I'

\ K2
K2
CO2
CO2
18 Define SEGMENT & ENDS
K2 CO2
19 What are the various interrupts in 8086 ?
K2 CO2
20 State the significance of the LOCK signal in 8086? K2 CO2"
PART -C (2 x 10 =20 Marks) Mark K-
Split up Level
co
21. a) Explain in detail about Even and Odd Memory Banks.
10 K2 COI
(Or)
b) Explain about Registers used in 8086 Microprocessors in detail. 10 K2 COl
22. a) ~! Explain the read bus cycle in 8086 with a neat sketch.
with a neat sketch.
5 K2 CO2
n) Explain the write bus cycle in 8086 5 K2 CO2

(Or)
b) Explain assembler directives in detail 10 K2 CO2

Course Outcomes

COI Explain the architecture and fundan1ental concepts of 8086 Microprocessors.(K2)


CO2 Understand the
pin diagrain, instruction set, assen1bler directives and bus cycle of 8086
Microprocessor.(K2)
CO3 In1ple1nent various Assen1bly Language Progra1n1ning using 8086.(K3)
CO4 Interpret VO interfaces (8255, 8253/8254, 8279, 8259, 8237) using 8086.(K3)
ors and explain the
Describe the advanced 1nicroprocessors Pentium and Intel Core i7 Process
write Assembly Language
cos internal organization of 8051, instruction set and addressing 1nodes and
Programs in 8051. (K3)
program the Timer,
Design Traffic Light controller, LED display, LCD display using 8086 and
CO6 Serial port, Stepper motor and Interrupt using 8051.(K
3)

Distribution of COs (Percentage wise)

COl CO2 C03 C04 cos CO6


I CO No.
50 ---- ---- ---- ----
I % 50

Annlv·K 4-Analv ze;K5-E valuate ;K6-Cre ate


Page 2 of2
·-···--'·v 1
~
I ~e:.- I I I I I I I I I I I I I
SAi RAM
An Aufonomoul
ENGINEERING COLLEGE t!Bi
Institution IMIHated to Anna Univmfy &Approved byNCTE, New Oefll •
- ........•
6
AcadedbyflAridNAAC'A+'l a&fOVS IS02100f :2018n900f :20f5tdednllfnmdhlllllcrl
Sal Leo Hagar, West Tambaram, Chtnnal • 600 044. [Link]
--~
CONTINUOUS ASSESSMENT TEST - II
I Question Paper Code I 24NUS2F093
Course Code - Name : 20ESEC502- MICROPROCESSORS AND MICROCONTROLLERS
Degree & Program : B.E/[Link] &CSE/IT
Date of Exam : 01-10-2024 Year / Semester :IIIN
Duration : l 1/z Hours Max. Marks :50

Answer ALL Questions


PART-A (tOx 1 = 10 Marks) K-Level CO
1 What is the difference between the XCHG and MOV instructions in 8086 Kl C03
assemb1y language?
a. XCHG exchanges data, while MOV copies data
[Link] copies data, while MOV exchanges data
c. XCHG uses more clock cycles than MOV
d. XCHG uses fewer clock cycles than MOV
2 Which of the following registers is commonly used to hold the string length in Kl CO3
8086 assembly language?
a. AX b. BX c. CX d. DX
3 Which mathematical operation does the CMP instruction essentially perform? Kl CO3
a. ADD b. COMPARE [Link] d. PRIORITY
4 Which of the following registers is commonly used to hold the uppercase letter Kl CO3
in 8086 assembly language?
a. AL [Link] c. BL d. BH
5 Which of the following is a common technique used for password validation in Kl CO3
8086 assembly language?
a. Comparing the input password with a stored password
b. Encrypting the input pas~word and comparing it with a stored encrypted
password
c. Using a checksum to validate the password

Kl _ Remember; K2 - Understand; K3 -Apply; K4 -Analyze; KS - Evaluate; K6-Create Page 1 of2


r

d. Using a timer to validate the password


6 How many types of Interfacing? Kl C04
a.2 b. 3 c. 4 d. 5
7 Which pin is used to blank the display during digit switching? Kl CO4
a. WR b. IR c. BD d. DB
8 Which port of the 8255 PPI is capable of perfonning the handshaking function Kl CO4
with the interfaced devices?
a. Port A b. Port B c. Port C d. All of the above
9 he 8255 ports wom in the 1/0 mode, Kl CO4
a. Programmable l/O ports b. Set pins c. Reset pins d. None of these
10 For which of the mechanism interrupt mechanism are not required? Kl C04
a. To allow the data sharing
b. better control
c. to handle mismatch condition
d. none of the above

PART - B (tOx 2 = 20 Marks) K-LeveJ co


I 1 Define modular programming. K1 C03
( 12 What is assembly level programming? Kl C03
13 Write an ALP to compute multiplication of two 16 bit numbers using 8086 K2 C03
instruction set.
14 Define a linker and locator Kl C03
15 How does a shift operation affect a byte in a bitwise operation Kl C03
16 What is 1/0 mapped l/O? Kl C04
17 What is scanning in display and what is scan time? Kl C04
18 What is block and demand transfer mode DMA Kl C04
19 List some features of INTEL 8259 Kl C04
20 What are the operating modes in 8279? Kl C04

PART - C (2 x 10 = 20 Marks) Mark K- co


Split up leve!

21. a) Write an Assembly Language program to Rotate a byte 3 places to the 10 K3 C03

left with algorithm and manual calculation

Kl _ Remember; K2 - Understand; K3 - Apply; K4 - Analyze; KS - Evaluate; K6 - Create Page 2 of2

l l
)
0l;>

• I

(Or)
b) Write an Assembly Language program for converting ASCII code to IO K3 CO3
binary data and binary data to ASCII code with proper algorithm and
manual calculation

22. a) Explain the block diagram of INTEL 8255 with its operating modes )0 K2 C04
(Or)
b) Discuss briefly about Keyboard/Display controller 10 K2 C04

Course Outcomes

COi Explain the architecture and fundamental concepts of 8086 Microprocessors.(K2)


CO Understand the pin diagram, instruction set, assembler directives and bus cycle of 8086
2
Micro rocessor. 2
CO3 Implement various Assembly Language Programming using 8086.(K.3)
C04 Interpret 1/0 interfaces (8255, 8253/8254, 8279, 8259, 8237) using 8086.(1<3)
Describe the advanced microprocessors Pentium and Intel Core i7 Processors and explain the
cos internal organization of 8051, instruction set and addressing modes and write Assembly Language
Pro ams in 8051. 3 \
Design Traffic Light controller, LED display, LCD display using 8086 and program the Timer,
C06 Serial ort, Ste er motor and Interru t usin 8051.(K3)
\
'
Distribution of COs (Percentage wise)

CO No. cot CO2 CO3 CO4 CO5


-- -
- --- -~ ----
% 50 50
I -·- - ----- -- -

KJ _ Remember; K2 - Understand; K.3 - Apply; K4 -Analyze; K5 - Evaluate; K6 - Create Page J ofl


~
l ~e:.· T- I- I I r I I -I- I I I I I
SAi RAM ENGINEERING
I &
COLLEGE !!!I.....
Delhi ; ~ ,
An Auton...,us lnslllvfton Allilialecf to Anna Unriersily Approved byAICTE, New
ACl:l8diedby NBA BOO NAAC 'A+'I BISIEOIIS ISO 21001: 2018 in:10Ci.J1: 2015 Cerlfled BOO NIRF rnedmt#Jtkxl 6j
Sai Leo Nagar, West Tambaram, Chennai - 600 044. [Link] -----~

CONTINUOUS ASSESSMENT TEST - Ill


I Question Paper Code I 24NU53F09~

Course Code - Name 20ESEC502- Microprocessors and Microcontrollers


Degree & Program : [Link]-CSE/IT
Date of Exam : 16.11.2024 Year / Semester : : 111/Y

Duration : 1 ½ Hours Max. Marks : 50

Answer ALL Questions


K-
PART-A (lOx 1 = 10 Marks) Level
co
1 Which of the following is Features of 8051 Microcontroller? Kl cos
A. 16-bit program counter and data pointer
B. Four 8-bit ports
C. Three internal and two external Interrupts
D. All of the above
2 8051 Microcontroller has ? Kl cos
A. 8-bit unidirectional address bus
B. 16-bit unidirectional address bus
C. 8-bit bidirectional address bus
D. 16-bit bidirectional address bus
3 8051 Microcontroller has _ _ _ _ _ register banks? Kl cos
A.4
8. 8
C. 16
D. 32
4 How are the status of the carry, auxiliary carry and parity flag affected if the write Kl cos
instruction
MOY A,#9C
ADD A,#64H
a) CY =0,AC=0,P=0
b) CY=l,AC=l,P=0
c) CY=0,AC=l ,P=0
d) CY=l ,AC=l ,P=l
5 The pentium processor has _ _ _ million transistor Kl C05
a)l .2
b)3.1
c)4. l
d)3.8

KI - Remember; K2 - Understand; K3 - Apply; K4 - Analyze; K5 _ Evaluate; K6 - Create Page 1 of3 /


r

.
C

6 ORL does a bitwise OR operations between operand I and operand 2 leaving the Kl
result in
------
a)operand 1 b)operand 2 c)operand 3 d)B register
7 In order to control the direction of the Stepper Motor, _____buttons are Kl C06
connected to PORT3 pins \
a)three b)two c)one d)five \
8 The traffic light control system has _ _ _for system program storage
a)ROM b)RAM c)External memor_y_d}EEPROM
Kl C06 '
9 SJMP is for___ - Kl C06
a)scrial Jump b)short jump c)short clear d)nonc
IO In 7 segment LED, segment will glow or emit light when it is ____biased Kl C06
a)revcrsc bias b)forward bias c)scottky d)nonc
'
PART- B (10 x 2 = 20 Marks) K-
co
Level
11 List the major features of Pentium 4 processor Kl cos
12 ldcntify the addressing modes available in 8051? Kl cos
13 What is the Forn1at of SCON register of an 8051 family of microcontroller Kl cos
14 Define relative addressing in 8051? Kl cos
15 Define Sr◄ R? Kl cos
16 What are ways to increase the baud rate Kl C06
17 State the principle of Microcontrollcr bases stepper motor based control system K2 C06
18 Draw the PlN configuration or 7 segment LED K2 C06
\9 Build a ALP program for logical XOR operations in 8051 K3 C06
20 Build a ALP program for logical NOR operations in 805 l K3 C06

PART- C (2 x 10 = 20 Marks) Mark K-


Split up Level
co
21. a) Classify different types of addressing modes in 8051. 10 K2 cos
(Or)
b) i)Explain the Special Function registers of 805 l 6 K2 COS

ii)Distinguish between microprocessor and microcontroller. 4 K2 COS

22. a) Explain in detail about 8051 serial p011 with the program. \0 K2 CO6
(Or)
b) Explain the Traffic Light Control System using 8086 with a neat sketch 10 K2 CO6

. 11 _ Evaluate; K6 - Create Pagel of 3


KI - Rt:1m:m ber; K2 Utllk1~tand; K) _ Apply; K4 - Analyze," 5

Common questions

Powered by AI

The 8086 processor supports multiple addressing modes, including immediate, direct, register, and various forms of indirect addressing, allowing for fine-grained control over data access and software optimization. This flexibility supports complex data structures and memory management techniques. The 8051, on the other hand, offers a simpler set of addressing modes suitable for embedded applications with limited memory space and a clear mapping to the physical interface it is controlling. The complexity in the 8086 aids in developing applications requiring intricate data handling, while the simplicity of the 8051's modes aligns with ease of use and faster development cycles for dedicated hardware tasks .

Interfacing the 8086 microprocessor typically involves more complex bus control logic for addressing external devices since it lacks in-built input/output capabilities. Techniques often include using ICs like 8255 PPI for ports extension. Meanwhile, the 8051 microcontroller incorporates built-in I/O ports, making direct interfacing with peripherals simpler. Both systems may use interrupt-driven I/O, but the 8086 often relies on a combination of DMA for high-speed data transfer and programmed I/O, whereas the 8051 uses its integrated resources for simpler device management .

The 8086 microprocessor is a 16-bit processor known for its segmented memory architecture which allows it to manage more memory than its direct addressing capability. It has a more elaborate instruction set and is designed for general-purpose computing tasks. In contrast, the 8051 microcontroller is architected for embedded applications, featuring built-in program memory, a smaller instruction set, and capabilities for handling input/output operations directly. The 8051 has integrated peripherals such as timers and serial communication protocols, which differ from the external integration required by the 8086 .

The choice between hardware and software interrupts in 8086 programming depends on the application’s real-time requirements and complexity. Hardware interrupts are asynchronous and triggered by external devices, ideal for dealing with real-time event handling and prioritizing urgent tasks. Software interrupts are invoked programmatically, frequently used for system calls and simpler interaction within software design. Both integrate into system operations by altering the program control to an interrupt handler, but they differ in initiation sources and corresponding flexibility in prioritizing and handling tasks. Implementing either demands understanding of both the hardware context and the software architectural requirements .

Segment registers in the 8086 allow addressing up to 1 MB of memory through the calculation of physical addresses using a combination of segment and offset values, effectively creating a 20-bit address space. This segmentation supports layered memory access, protecting data by isolating segments for code, data, stack, and extra data. It optimizes memory usage by enabling more flexible data structure layouts and facilitating multitasking by easily switching segments. In contrast, a flat memory model, while simpler, lacks this versatility, exposing all memory as a single, contiguous space, which can limit efficiency in complex systems .

Modular programming divides a program into distinct modules, each handling a specific part of the program's functionality. This enhances the development process by allowing separate teams to work on individual modules concurrently, facilitates easier debugging, improves reusability of code across different projects, and simplifies maintenance as updates can be applied to individual modules without affecting the entire system. In the context of 8086 assembly language, this approach enables developers to manage complex software systems by breaking them down into manageable sections, aligning well with the structured nature of its instruction set .

XCHG swaps the contents of two operands directly without requiring a temporary storage location, which can be more efficient in terms of code length and does not need additional register usage like MOV does for swapping. However, MOV generally requires fewer clock cycles compared to XCHG, making MOV preferable for simple data transfers where swapping is unnecessary. This trade-off highlights the need to evaluate instruction use based on the specific application demands .

The bus cycles in an 8086 microprocessor facilitate the communication between the microprocessor and memory or peripheral devices. These cycles, including the read and write bus cycles, ensure data transfer occurs accurately and efficiently. The bus cycles involve multiple operations such as address latch enable cycle, data transmission, acknowledgment, and response to control signals. Efficient handling of these cycles is crucial for system performance as it determines the speed at which an 8086 processor can access memory or I/O devices .

The LOCK signal in 8086 microprocessors is used to ensure exclusive use of shared resources, which is essential in multi-processor systems. It prevents other processors from accessing the system bus, thereby achieving atomic operations crucial for data consistency and preventing various processors from interfering with a process during its critical section. This is particularly vital in scenarios involving simultaneous data access and modification .

The transition from the 8086 to the Pentium marked a significant increase in computational capabilities, including enhancements in processing speed, parallelism through pipelining, more complex and expandable instruction sets, and support for greater memory bandwidth and better multitasking. The introduction of superscalar architecture in Pentium allowed multiple instructions to be processed simultaneously, significantly improving performance. These advancements enabled the development of more sophisticated applications, increased graphical and multimedia processing and improved overall system responsiveness and efficiency, reflecting the broader technological evolution from basic computational support to advanced computing platforms .

You might also like