CSE3524 – (Solution)

$ 20.99
Category:

Description

Department of Computer Science & Engineering
Course Code: CSE-3524 Course Title: microprocessor and microcontroller Sessional Total Marks: 50
Time: 2 :30 Hours
30 marks for programming
10 marks for continuous evaluation
10 marks for report submission

1. a) Execute and explain the assembly code below:

CODE SEGMENT
ASSUME CS:CODE, DS:CODE
ORG 1000H
MOV AX, 7A24H
MOV BX, 95A3H
ADD AX, BX
JC FBA
EEE: OR AX, 23H JNZ LST FBA:
MOV CX, 0FC7H
SUB AX,CX
JZ EEE
LST: HLT
CODE ENDS
END

Write down the reasons for change of flag registers and change of general purpose registers.

8

1.(b) What is Conditional Jump? Why is it used? Explain with example. 2

2. a) What is logical operator? Explain the tables of frequently used logical operators. 3
b) Write down an assembly language program that depicts the use of logical operators. Use EMU 8086 to depict the scenario. 7

3. a) What is serial monitor? How is it connected to computer? Write down a program to print “Hello World” in assembly language. 3
b) What are the commands used in serial monitor connection? Explain each of the commands. 7

Reviews

There are no reviews yet.

Be the first to review “CSE3524 – (Solution)”

Your email address will not be published. Required fields are marked *