0% found this document useful (0 votes)
56 views1 page

Microprocessor System Mid Summer 2019

The document contains questions for a microprocessor systems midterm exam. It asks to explain features of the Cortex-M4 microprocessor, write assembly code to store values in registers and calculate an average, describe the values in registers and memory after running a given program, and explain the working of specific Cortex-M4 instructions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views1 page

Microprocessor System Mid Summer 2019

The document contains questions for a microprocessor systems midterm exam. It asks to explain features of the Cortex-M4 microprocessor, write assembly code to store values in registers and calculate an average, describe the values in registers and memory after running a given program, and explain the working of specific Cortex-M4 instructions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

NFC INSTITUTE OF ENGINEERING & FERTILIZE RESEARCH Department of electrical engineering

Mid Term Exam


Subject: Microprocessor Systems summer:2019
Total Marks: 30 Time Allowed: 1 hr.
Sr. No. Question Marks
A) Explain following features of cortex-M4 microprocessor. 5+5
1) Power consumption
2) Memory Protection Unit
3) Energy Efficiency
B) Write the assembly code for :
1
1) Store 0x51 in R0
2) Store 0xAA in R1
3) Store 0x78 in R3
4) Store 0x98 in R4
5) Using add and div instructions find average of R0-R4 and store in R5
A TM4C123 system is presented run following program find the values of Registers and 10
memory after execution of this code.
Draw whole memory map starting from
0x2000091F

MOVW R0, 0xEFFD


2 MOVT R0, 0xABCD
MOVW R1, 0x9876
MOVT R1, 0x1234
ADD R0,R1
MOVW R3, #0x2000
MOVT R3, #0x0920
STR R2, [R3,#0x2]

Explain working of following instructions of Cortex-M4 processor 10


1) LOL
2) LSR
3
3) ROR
4) LSL
5) MOVT

- 1-

You might also like