KLS GOGTE INSTITUTE OF TECHNOLOGY BELAGAVI-08
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
IA TEST SCHEME OF EVALUATION
ACADEMIC YEAR 2023-24
DATE: 09/01/2024 IA TEST: II MARKS
SUBJECT: MICROCONTROLLERS AND EMBEDDED SYSTEMS
SUBJECT CODE: 21CS53
PART A
1. Listing the data types 2M
Explain each data type in brief 3M
2. a. PINSEL0=0X00000000; IO0DIR=0X00000000 1X4= 4M
b. PINSEL1=0X00000000; IO0DIR=0XFFFFFFFF
c. PINSEL1=0X00000000; IO1DIR= 0X00000000
d. PINSEL1=0X00000000; IO1DIR= 0XFFFFFFFF 1M
e. NO
PART B
3. 5M
4. 5M
5. 5M
6. 5M
PART C
7. a. All ARM registers are 32-bit and all stack entries are at least 32-bit. To 5X1=5M
implement the i++ exactly, the compiler must account for the case when i
= 255. Any attempt to increment 255 should produce the answer 0.
b. By declaring the local variables using int, or long int.
c. BCC: Branch if Carry Clear.
d. R14 (Link Register) holds return address, whenever a main program calls
a subroutine.
e. No
8. a. The compiler must make compatible decisions for the function caller and 5X1=5M
callee.
b. Either the caller or callee must perform the cast to a short type.
c. TRUE
d. TRUE
e. TRUE