Font size
WorksheetsMCES_M1_Test
Total questions: 23
Worksheet time: 22mins
Represent a basic block diagram of CPSR mentioning all the different fields. You can use your fingers to draw a basic sketch.

Less load on compiler
CISC
More load on compiler
RISC
ARM Core, Controller, Peripherals & Bus
ES Hardware
OS, boot code, applications
ES Software
Fastest memory units with very low capacity
Registers
Size of general purpose registers in NXP LPC 2148?
(a)
This memory unit is placed between main memory & the core to improve overall system performance.
(a)
Which of these does not come under RISC design philosophy?
Reduced instructions
Pipeline
Load-store architecture
Aarmugam
Select all the options that come under ARM design philosophy instruction set.
Variable cycle execution
Thumb state
Barrel shifter
Pipelining
Shrihari alias 'loose maada' can store a 32-bit hexadecimal number in some temporary storage. He calls his friend Jogi & asks for help. Jogi suggests him to use (a) for his operation. He also warns him not to use (b) for the storage. Using (c) mode, Srihari successfully completes his mission.
Processor or Controller?
(a)
Convert 55 from decimal to hexadecimal.
Which movie scene?
(a)
Which movie scene?
Which movie scene?
Which movie scene?
Any idea which TV sitcom is this?
ARM Core Dataflow model does not include this...
Instruction decoder
Barrel shifter
Peripherals
Register file/ bank
There are a total of (a) registers in ARM processor. Out of these, (b) are special purpose registers. Along with all these, we have 2 more special purpose registers called (c) & (d) .
CPSR contains (a) major fields. They are Flags, status, extension & (b) . Processor modes come under (c) field.
There is some data 0xABCD inside a memory location 0x001C. Shrikara wants to get this data onto some temporary storage to perform some calculations. Can you help him write an appropriate instruction for this?
MOV R1, #0xABCD
MOV R2, #0x001C
MOV R2, R1
MOV R1, #0x001C
LDR R2, [R1]
LDR R1, #0x001C
MOV R2, R1
MOV R1, #0x001C
STR R2, [R1]
There is some data - 0xCAFE in temporary storage unit & Rayan wants to transfer this data into an internal memory location - 0x4000. He calls his friend Bharath for help. But Bharath also seems clueless. Can you help them?
MOV R1, #0x4000
MOV R2, 0xCAFE
STR R2, [R1]
MOV R1, #0xCAFE
STR R1, R2
MOV R1, #0x4000
MOV R2, 0xCAFE
LDR R2, [R1]
MOV R1, #0x4000
MOV R2, 0xCAFE
MOV R1, R2
Sanjana wants to find factorial of a number using assembly language. Can you help her out with the basic steps?
1) Set initial & final ranges.
2) Keep incrementing.
3) Addition on loop
4) Repeat till all numbers are covered.
1) Take the desired number.
2) Make a copy & decrement step by step.
3) Multiply & accumulate.
4) Repeat till counter == 1.
1) Take the desired number.
2) Make a copy & increment step by step.
3) Multiply & accumulate.
4) Repeat till counter == 1.
1) Take the desired number.
2) Make a copy & decrement step by step.
3) Multiply & accumulate.
4) Repeat till counter == 0.
When Tushar performs the addition of 2 numbers - 0xBACE & 0xCAFE, which of the following flags will be set?
Carry flag
Overflow flag
Zero flag
Negative flag
Priya wants to perform comparison of 2 hexadecimal numbers - 0xABCD & 0xABCD. Instruction she used was 'CMP'. Which flag will be set when she performs this operation?
(a)
It has been slightly more than 1 month since we started our MCES journey. So, any feedback to your Professor? You can even share what you feel about the classes/ labs & the subject. Only your honest feedback can optimize the teaching-learning process. Request you not to skip this question.
