Question: Please do all questions start with 15 and 16, skip 9,10,11 2 points 15. What are the values of the NZCV bit flags in the

Please do all questions start with 15 and 16, skip 9,10,11

Please do all questions start with 15 and 16, skip 9,10,11 2

points 15. What are the values of the NZCV bit flags in

the Program Status Register (PSR) after the following instruction completes? "SUBS RO,

2 points 15. What are the values of the NZCV bit flags in the Program Status Register (PSR) after the following instruction completes? "SUBS RO, R1, R2". Assuming R1 = 1 and R2 = 2. N = 0, Z = 0, C = 1, V = 0 N = 1,Z = 0, C = 1, V = 0 N=1, Z = 0, C = 0, V = 0 O N=1,2 = 0, C = 0, V = 1 16. In the instruction "ADDS RO, R1, R2", the processor only updates either 2 points the carry flag or the overflow flag, depending on whether the values in register R1 and R2 are signed or unsigned. True False 9. Open-drain and push-pull are used to configure GPIO output modes. 2 points True False 2 points 10. Most ARM processors support both Big Endian and Little Endian.ARM processor is Little Endian by default. True False 2 points 11. Suppose a push button is connected to pin PC 13 and software needs to wait until the button is pressed. When the button is not pressed, the voltage on pin PC 13 is high. Which of the following code will fail? while(GPIOC->IDR & GPIO_IDR_ID13); while( (GPIOC->IDR & GPIO_IDR_ID13) == GPIO_IDR_ID13); while( GPIOC->IDR && (1ULIDR & 0x00002000); 2 points 12.In a four-bit two's complement, what is the answer to the binary problem 0011 - 1110 0101 1101 1110 0001 13. For previous question (Question 12). what are values of N. Z. C.V flags? 2 points N=0, Z=0, C-O, V=1 N=1, Z=1, C=1, V=0 N=0, Z=0, CEO, V=0 N=0, Z=0, C=1, V=1 ON=0,2=0, C-1, V=0 14. Suppose the memory content is shown as the following figure Assume 2 points little endian is used and RO = 0x20008000, what is the value of R1 after the instruction "LDRSH R1. [RO]" completes? Note: Your answer should always start with "Ox" and contain all hex values. Please use capital letters, e.g., use Ox000000EF, instead of Ox000000ef. For example, if your answer is 0x34AB. type in Ox000034AB as your answer.* Address Content 0x20008007 0x98 0x20008006 Ox76 0x20008005 0x54 0x20008004 0x32 Ox20008003 OxDE Ox20008002 OXAD Ox20008001 OxBE 0x20008000 OEF Your

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!