0% found this document useful (0 votes)
197 views

Assignment On Module 2

This document contains an assignment on embedded systems for a cortex M3 course. It includes 16 questions covering various ARM cortex M3 instruction sets like shift, rotate, data processing and branch instructions. It also covers memory mapping, CMSIS organization, assembly directives and interfacing. Students are asked to explain instructions, write assembly/C programs and analyze sample codes. They are requested to submit their responses by July 23rd, 2021.

Uploaded by

chaitanya
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)
197 views

Assignment On Module 2

This document contains an assignment on embedded systems for a cortex M3 course. It includes 16 questions covering various ARM cortex M3 instruction sets like shift, rotate, data processing and branch instructions. It also covers memory mapping, CMSIS organization, assembly directives and interfacing. Students are asked to explain instructions, write assembly/C programs and analyze sample codes. They are requested to submit their responses by July 23rd, 2021.

Uploaded by

chaitanya
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
You are on page 1/ 2

Jain College of Engineering & Research Belagavi

(Approved by AICTE, New Delhi, Affiliated to VTU Belagavi & Recognized by Govt. of Karnataka)

Department of Electronics & Communication Engineering


Assignment on Module - 2

Subject: Embedded System Subject Code: 18EC62

Faculty Incharge: Prof. Chaitanya K J Date: 18/07/2021

1) Explain shift & rotate instructions available in ARM cortex M3 instruction set. Why
is there rotate right instruction nut no rotate left instruction in cortex M3?

2) Explain the following instructions with suitable example:

a) BFC b) SXTH c) UBFX d) RBIT

3) Write the memory map and explain memory access attributes/bit band
operations in cortex M3

4) Analyse the following instruction & write the contents of the registers after the
execution of each instruction:

Assume R8 = 0X00000088, R9 = 0X00000006 and R3 = 0X00001111


i) RSB.W R8, R9, #0X10
ii) ADD R8, R9, R3
iii) BIC.W R6, R8, #0X06
iv) ORR R8, R9

5) Explain the following 16 bit instructions in CORTEX M3: ADC, RSB, TST, BL,
LDR, MOV, SVC, PUSH

6) Explain the following 32 bit instructions in CORTEX M3: AND, CMN, MLA,
SDIV, STR, MRS, MSR, POP

7) With neat diagram explain the organization of CMSIS

8) Explain the following instruction with example: ASR, LSL, ROR, REV, LDMIA,
SXTB

9) List and explain the function of any four data processing and branch instructions in
cortex M3 with example.

10) Write a note on barrier instruction in CORTEX M3

11) Explain the following assembler directives: AREA, ENTRY, DCB, ALIGN

12) Explain different bus interfaces supported by CORTEX M3.


Jain College of Engineering & Research Belagavi
(Approved by AICTE, New Delhi, Affiliated to VTU Belagavi & Recognized by Govt. of Karnataka)

Department of Electronics & Communication Engineering

13) Explain any two methods of accessing memory mapped registers in C.

*Basic assembly / C Programs repeated in previous year QP*

14) Write a Assembly level program to find sum of first 10 integer numbers.

15) Write an assembly program to add two 64 bit numbers

16) Write a C language program to toggle an LED with a small delay in cortex M3.

Note: The questions which are been made as bold, indicate most repeated questions from

VTU previous year question papers (15EC62, 17EC62)

SUBMISSION DEADLINE: 23/07/2021

You might also like