0 ratings0% found this document useful (0 votes) 71 views8 pagesMicroprocessor Year Questions
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
@
(b)
©
@
(b)
©
(a)
(b)
(©)
(a)
(b)
(©)
@)
(b)
©
@
(b)
©
(a)
(b)
©
(@)
(b)
©
University of Rajshahi
Department of Computer Science and Engineering
B.Sc. (Engg.) Part-3 Even Semester Examination-2021
Course: CSE3231 (Microprocessor and Assembly Language)
Full Marks: 52.5 Tim :00 Hours
IN.B. Answer any Six questions taking Three from each section. ]
Section-A
Draw the 8086 architectural diagram and explain the functions of Bus Interface Unit and
Execution Unit.
Mention (i) the address capability of 8086 and (ii) how many 1/0 lines can be accessed by 8086.
Give the steps in physical address generation in 8086 microprocessor.
Briefly discuss how address and data buses of 8086 microprocessor are multiplexed and how those
are demultiplexed,
Explain the function of following pins of 8086 microprocessor:
() M/MX, (ii) READY, (iii) ALE, and (iv) DIR.
What do you understand by memory segmentation of 8086 processor?
address and even address of 8086 processor.
Discuss how byte and word data are read from odd.
th required number of code segment and data
Write different memory models of 8086 processor wit
segment.
Determine the contents of the status flags after executing the instruction ADD AX, BX. Where
AX contains FFI Fl
HH and BX contains FFFFH.
Discuss the role of different segment registers and offset registers of 8086 microprocessor.
‘A memory location has physical address 80FBDH. In what segment does it have offset BFD2H?
with . .
Explain DOS and BIOS interrupts with example. Pome ofSentun aay
Dept. of Computer Science &
Engineering
University of Rajstabt
Define assembler directive. Mention some assembler directives with their tasks.
What is meant by range problem of conditional jump instructions? How can the problem be
solved?
‘Mention the restrictions of MOV and XCHG instructions? Exchange the 15th and 30th elements
in a word type array A.
Explain signed overflow and unsigned overflow with example.
What is Program Segment Prefix? Explain.
Write some assembly codes that will reverse the bit pattern of AX register without changing its
contents.
Explain why TEST and JCXZ, instructions are used.
What is masking? Set the most significant and least significant bits of DL register
while preserving the other bits.
What is addressing mode? Discuss Indexed addressing modes with examples.
‘What happened when CALL and RET instructions are executed?
How does CPU implement a conditional jump instruction? Explain with example.
Discuss the following string operations with assembly language instructions:
(i) Scan a character from a string (ii) Compare a string with another string
115
3.75@
(b)
©
@
b)
©
@
(b)
©
@
(b)
©
- (a)
(b)
©
(a)
(b)
©
@
(b)
©
@
)
()
@
University of Rajshahi
Department of Computer Science and Engineering
B.Sc. (Engg,) Part-3 Even Semester Examination-2020
Course: CSE3231 (Microprocessor and Assembly Language)
Full Marks: $2.5 Time: 3:00 Hours
[N.B. Answer any Six questions taking Three from each section.)
‘What is memory banking? How odd and even addressing is done in 8086 microprocessor?
Differentiate 8085 and 8086 microprocessor on basis of data lines, address lines, memory
capacity, and speed. .
Write the steps by which a microprocessor communicates with peripherals or memory locations.
Discuss how address and data buses of 8086 microprocessor are multiplexed? How those are
demultiplexed?
Write the differences between BIOS routine and DOS routine.
Discuss how byte and word data are read from an odd address and an even addi
microprocessor.
ress of 8086
Draw the block diagram of the organization of Intel 8086 microprocessor and discuss its
Execution Unit and Bus Interface Unit.
Briefly discuss different data registers of 8086 microprocessor.
What is Flag of 8086 microprocessor? Mention different Flags of 8086 microprocessor.
Explain the memory segmentation concept of 8086 microprocessor.
Discuss the role of different segment registers and offset registers of 8086 microprocessor.
For the memory location whose physical address is specified by 1256AH, give the addresses in
segment:offset form for segments 1256H and 1240H.
ion:
Se
Write assembly language code for the following problem.
“Read a character. Ifit's “y” or “Y”, display it; otherwise, terminate the program.”
Explain with example, how AND, OR and XOR instructions can be used to clear, set, and
complement respectively, specific destination bits.
Why do we write the following two statements in the assembly language code?
MOV AH, 4CH
INT 21H
Explain signed overflow and unsigned overflow with example.
Discuss SAL and SAR instructions of 8086 microprocessor.
‘Write some assembly codes that will reverse the bit pattern of BX register without changing its
contents,
What is meant by masking? Set the most significant and least significant bits of BL register
while preserving the other bits.
Write how many ways we can clear the content of a register,
Explain why TEST and JCXZ instructions are used in 8086 microprocessor.
What is flag? Discuss how flags are affected for signed and unsigned overflow.
Write different flags of the flags register after executing ADD AX, BX; whe i
FFFFH, BX contains FFFFH. i nei Ak conte
Explain Program Segment Prefix (PSP).
Write codes to load the contents of flags register to AX register.
3
3
2.75
3
2
3.75
+
2.75
3.75(a)
(b)
(c)
@
(b)
©
fa)
(b)
©)
(a)
(b)
(©)
(a)
(b)
©
. (a)
(b)
©)
(@)
(o)
University of Rajshahi
Department of Computer Science and Engineering
B.Sc. (Engg,) Part-3 Even Semester Examination-2019
Course Code: CSE3231 Course Title: Microprocessor and Assembly Language
Full Marks: 52.5 - Time: 3:00 Hours
[N.B. Answer any Six questions taking Three from each Sectior
‘Section-A_
Define 64-bit processor. Distinguish between 64-bit and 32-bit processor on the basis of data, address
and memory size.
Discuss different categories of functions performed by a microprocessor.
What is an interrupt?
Discuss how addre!
demultiplexed?
Discuss how byte and word data are real from an odd addres
processor. . | |
Determine the contents of the status flags after executing the instruction ADD AX,BX. Where
AX contains FFFFH and BX contains FFFFH.
4s ‘and data buses of 8086 processor are multiplexed? How those are
5 and even address of an 8086
Draw the block diagram of the organization of Intel 8086 microprocessor and then discuss its
Execution Unit and Bus Interface Unit.
What are CS and DS ? Why and how are they used in an assembly language
For the memory location whose physical address is specified by 1256AH,
segment:offset form for segments 1256H and 1240H.
program?
ive the addresses in
Define assembler directives and pseudo opcodes with example.
Suppose AX contains FFFFH and BX contains FEFFH. What will be the value of CF and OF
after executing MUL BX and IMUL BX.
Discuss DOS and BIOS interrupts with example.
Section-B
What is flag? Discuss how flags are affected for signed overflow and unsigned overflow.
Write some assembly codes that will reverse the bit pattern of AX without changing its
contents.
Explain Program Segment Prefix (PSP).
What is the range problem of conditional jump instructions? How can the problem be solved?
‘What do you mean by range problem of conditional jump instructions of 8086, How can the
problem be solved?
What is meant by masking? Set the most significant and least significant bits of register AL
while preserving the other bits.
Explain near type and far type of procedures used in assembly language.
What happened when CALL and RET instructions are executed.
Exchange the 15th and 30th elements in a word type array A.
What is addressing mode? Discuss Based and Indexed addressing modes with examples.
Discuss the string operations with assembly language instructions and examples:
(i) Scan a character from a string (li) Compare a string with another string,
”1.)
(b)
©
2.(a)
(b)
©)
3.@)
(b)
©
4.(a)
()
5.(@)
(o)
©
6.(a)
)
©
7.(a)
(b)
©
8. (a)
)
©
7
University of Rajshabi
Department of Computer Science and Engineering
B.Sc. (Engg.) Part-3 Even Semester 2018
Course: CSE3231 (Microprocessor and Assembly Language)
Time: 3 Hours Full Marks: 52.5
[Answer any three (03) questions from each Section.)
Section-A
Discuss how address and data buses of 8086 Microprocessor are multiplexed? How those are
de-multiplexed?
Define odd address bank and even address bank of an 8086 Microprocessor.
Discuss how byte and word data are read from an odd address and even address of an 8086
Microprocessor.
Discuss the internal organization of an 8086 Microprocessor. |
Discuss memory segmentation and then discuss different segment registers of an 8086
Microprocessor. ;
Discuss with example how a physical address is generated by an 8086 Microprocessor to
‘access a memory segment.
‘What is an assembler directive? Mention some assembler directives with their tasks.
Wits sattsent memory models of 8086 microprocessor with required number of code
segment and data segment. ;
Compare 8085 and 8086 microprocessor on basis of the size of data bus, address bus, and
memory accessibility.
What is interrupt? How does 8086 respond when an interrupt has been requested? ,
Whit is INT 21H? Discuss how INT 21H instruction is used to input and output a single
character.
Section-B
Explain signed overflow and unsigned overflow with examples.
‘What do you mean by range problem of conditional jump instructions of 8086? How can the
problem be solved?
What is meant by mask bits? Discuss how logical instructions of 8086 are used to mask of
bits of a register.
What are the important signals of 8086? Discuss them in brief.
Write a program to check whether an inputted string is palindrome or not,
Discuss DOS routine with examples.
Explain near type and far type of procedures used in assembly language.
‘What happened when CALL and RET instructions are executed?
Write some assembly codes to count the number of 1 bits in a register without changing the
content of that register.
What do you mean by Program Segment Prefix (PSP)? Explain it,
What are the remainder, quotient and registers contain after execution the following
instruction sequence
MOV DX, 0
MOV AX, 15
MOV BX,2
DIV BX
Describe the different between the instruction MOV AX, 2437H and MOV AX, [2437].
4.00
3.00
1.75
2.95
3.00
3.00
5.00
3.75
3.00
2.75
3.00
3.00
4.00
1.75
3.00
3.00
2.75
3.00
3.00
2.75University of Rajshahi
Department of Computer Science and Engineering
B.Sc. (Engg,) Part-3 Even Semester Examination-2017 |
Course: CSE-3231 (Microprocessor and Assembly Language) \
Marks: 52.5
[Answer any SIX of the following questions taking THREE from eacl
+h section. ]
Se
(2) Define microprocessor. Briefly discuss different categories of functions performed by @
microprocessor.
(b) What fs meant by 16-bit processor? Mention the basic differences between 8085 and 8086
processors.
(a) Discuss how address and data buses of 8086 precessor
demultiplexed?
(b) Draw the block diagram of th
different units
are multiplexed? How are those
internal organization of an 8086 processor and discuss its
(2) What is memory banking? How odd and even addressing is done in 8086?
(6) What is mean by memory segmentation? What are its advantages and disadvantages?
(©) Discuss MOV and XCHG instructions with ther differences and restrictions.
(a) Define memory segment. Discuss different memory segments and segment registers of 8086
processor.
(b) Discuss with example
memory segment.
how a physical address is generated by an 8086 processor to access a
Section:B
(a) What is memory model? Mention different memory models of 8086 processor.
(6) Define assembler directive. Why a stack is deelszed by STACK directive atthe beginning of
an assembly language program.
(c) What is meant by Program Segment Prefix (PSP)? Explain.
(a) Describe flag register of 8086 with neat diagram.
(b) Explain the register organization of 8086 processor in detail
(¢) Discuss how BIOS function calls are invoked in assembly language programs.
(a) What do you understand by range problem of conditional jump instructions of 8086
Processor? How can the problem be solved?
(b) Discuss with example how logical instructions of 8086 processor are used to mask of bits of
a register.
() Define addressing mode. Discuss Based addressing mode and Indexed addressing mode of
£8086 processor.
. (a) Discuss NEAR type and FAR type procedures of assembly lan;
s J {guage program.
(b) Explain what happens during the execution of CALL and RET instructions,
(© Diseuss how a string is compared with another string for finding a substring using CMPSB
struction.
3.75
3.75
2.75
3.75
275\p
University of Rajshahi
(©) Write a program for 8086 processor to find the average of five 16 bit numbers.
Department of Computer Science and Engineering Loay
B.Sc. (Engg.) Part-3 Even Semester Examination-2016 "teed
Course: CSE-3231 (Microprocessor and Assembly Language) a
Marks: 52.5 ‘Time: 3:00 Hours
[N.B. Answer any SIX of the following questions taking THREE from each part.)
PART-A
(a) Define 64-bit processor. Distinguish between 16-bit and 32-bit processor on the basis of data, 4
address and memory size.
(b) Draw the block diagram of the organization of Intel 8086 processor and then discuss the 3
functions of its two major units.
(c) What is an interrupt? 1.75
(a) What is memory segment of 8086 processor? Discuss different segment registers of 8086 processor. 3.75
(b) Discuss how a physical address is generated by 8086 processor to access a memory scgment, 3
(c) A memory location has physical address gerBeH Ip ‘what segment does have offset BFD2H? 2
4
(a) What are odd address bank and even address bank of an 8086 processor? 2
(b) Discuss how byte and word data are read from an odd address and even address of an 8086 4
processor.
(c) Explain memory model. Mention some memory models used in assembly language. 2.75
(a) What do you mean by assembler directive? Mention some assembler directives with their 3
applications.
(b) Explain pseudo-opcode. Mention some pscudo-opcodes with their functions. 3.75
(c) Write the differences between BIOS routine and DOS routine. 2
PART-B
. (a) What is flag? Discuss how flags are affected for signed overflow and unsigned overflow. 3.75
(b) Write different flags of the flags register after executing ADD AX, BX ; where AX contains FFFFH, 2
BX contains FFFFH. .
(c) Explain Program Segment Prefix (PSP). 2
(@) Write the codes to load the contents of flags register to AX register. 1
. (a) What is the range problem of conditional jump instructions? How can the problem be solved? 2.75
(b) Mention the different ways for the following assembly language task: 45
(i) Clearing a register (ii) Test a number for odd/even (iii) Convert a letter to its opposite case
(©) Write some codes to exchange the contents of two word type variables. 15
(a) What is masking? Write how can the sign bit of DX be changed? 2
(b) Differentiate between a near type procedure and a far type procedure. 1.75
(c) Briefly discuss what happens during a call and a return statement executes. 3
(d) Write some codes to reverse the bit pattern in BX. 2
(a) What is a subroutine? Explain about CALL and RETURN Instructions. 3
(b) Explain the functions of CX and DX registers of 8086 microprocessor. 2
3.75S
University of Rajshahi
Department of Computer Science and Engineering
B.Sc. (Engg,) Part-III Even Semester Examination-2015
Course: CSE-3231 (Microprocessor and Assembly Language)
Marks: $2.5 Time: 3:00 Hours
[N.B. Answer any SIX of the following questions taking THREE from each part.]
Part-A
(a) What do you mean by 16-bit processor?
{b) Draw and discuss the block diagram of the organization ofan Intel 8085 microprocessor.
(©) Discuss how data and address busses of 8086 processor are multiplexed and how they are
demultiplexed.
(a) What are memory segments of 8086 processor? Discuss different segment registers of 8086 processor.
{b) A memory location has physical address 8OFD2h. In what segment does it have offset BFD2h?
{@) How does the processor determine that overflow occurred?
(@) Discuss the start-up operation when the PC is powered up?
{b) Discuss how byte and word data are read fiom an odd address and even address of an 8086 processor.
(©) What is assembler directive? Mention some assembler directives with their tasks.
(a) What is Flag of a processor? Discuss the flags affected after executing the instruction SUB AX, BX
where AX contains 8000h and BX contains 0001h.
(b) What is meant by masking? How a mask bit pattern is generated?
(6) Write some assembly codes to reverse the bit patter of a register without changing its contents.
Part-B
(@) Briefly discuss MOV and XCHG instructions with their restrictions.
(b) What is range problem of conditional jump instructions? How can the problem be solved?
(6) Explain the functions of EQU, LEA and DUP instructions?
_- (@) Write assembly language code for the following problem.
Fee tharactr, Ir’ "y" or "Y", display it; otherwise, terminate the program."
(6) Why do we write the following two statements in the assembly language code?
MOV AH, 4CH
INT21H
(© Explain with example, how AND, OR, and XOR instructions can be used to clear, set and complement,
respectively, specific destination bits.
_-(@ What do you mean by FAR type and NEAR type procedures in assembly language?
{b) Discuss how the contents of Flags register can be loaded in AX register.
{¢ Explain what happens when CALL and RET statements are executed.
(a) What is DF of an 8086 processor? How a string is seanned in increasing order and decreasing order?
(6) Discuss the instruction by which we can move a string from ove meninty location to another.
{o) Explain how a string ean be searched in another string for finding a sub string.
3.75
75
ree
2.15
wy
3.75
2
ES
2.75
2.75
3US <
University of Rajshahi ;
Department of Computer Science and Engineering
B. Se. (Engg,) Part-3, Even Semester Examination-2014
Course: CSE 3231 (Microprocessor and Assembly Language)
Total Marks: 52.5
‘Time: 3 Hours
a)
»)
°)
b)
2
)
a)
b)
a)
b)
PART-A
ve example. ;
bus size and memory capacity.
Intel 8086 microprocessor and discuss its
What do you mean by an N-bit processor?
Compare Intel 8085 and 8086 processor with
Draw the block diagram of the organization o!
Execution Unit and Bus Interface Unit.
te of memory?
How the address of 8086 is decoded to access 1 mega b:
5 a memory segment.
Discuss how physical address is generated by 8086 processor to acces
Mention some advantages of programming with assembly language.
Discuss different segment registers of 8086 microprocessor. 7
Discuss the opcode and operand fields of an assembly language statemen
‘What is an assembler directive? Mention some assembler directives.
\t with example.
Discuss MOV and XCHG instruction with their difference and restrictions.
Write the syntax and briefly discuss ADD, SUB, INC, and DEC instructions.
PART-B
Write the memory models of $086 microprocessor with their required number of code
segment and data segment.
Discuss BIOS routine and DOS routine with examples.
What is INT 21H? What do you mean by Program Segment Prefix?
Discuss different Status flags of FLAGS register of 8086 processor with example.
Write the differences between the instructions: (i) SUB and CMP (ii) AND and TEST
What is range problem of conditional jumps? How the problem can be solved?
Discuss how logical instructions of 8086 are used to mask of bits of a register.
Discuss with example how left shift instructions of 8086 can be used to multiply the content
ofa register by m, where m=2" and n is a positive integer.
Explain near type and far type of procedures.
What is addressing mode? Discuss “Register Indiret” addressing mode with examples:
Diseuss the following string operations with assembly language instructions and examples:
(i) Moving a string from one memory location to another (ii) Store a string
BN
2.95
mee
75
5.75
a