Social Sciences, asked by srinuvani456, 4 months ago

a. Consider an air conditioning system that needs to be installed in a room and is controlled by an ARM Cortex M3 microcontroller. The
temperature sensor reading is stored in the memory address of 10002000H. The temperature needs to be read and stored in the memory address
of 10003000H. Suppose a predefined temperature setting is loaded into the memory location 10004000H, write an assembly language program to
control the compressor with the predefined temperature set by the user. The temperature controller will control the compressor via ON and OFF
mechanism. Assume OOH for OFF and FFH for ON. [10]
b. Write an assembly language code to perform X= ([2^10 (Y+Z)]/2) operation and the result is stored in the memory location Ox10101010.
Assume the variables X=RO, Y=R1, and Z=R2 registers. (Hint: Use LSR, LSL instructions for exponents and divisions) [5]
2​

Answers

Answered by Anonymous
0

Please don't post such Questions.

It violates brainly and it's users.

Please don't spam.! And never let anyone spam!

 \large {\underbrace{ \sf{ \pink{@BrainlyPopular1}}}}

 \large {\underbrace{ \sf{ \pink{@BrainlyPopular1}}}} \large {\underbrace{ \sf{ \pink{@BrainlyPopular1}}}} \large {\underbrace{ \sf{ \pink{@BrainlyPopular1}}}} \large {\underbrace{ \sf{ \pink{@BrainlyPopular1}}}} \large {\underbrace{ \sf{ \pink{@BrainlyPopular1}}}} \large {\underbrace{ \sf{ \pink{@BrainlyPopular1}}}} \large {\underbrace{ \sf{ \pink{@BrainlyPopular1}}}} \large {\underbrace{ \sf{ \pink{@BrainlyPopular1}}}} \large {\underbrace{ \sf{ \pink{@BrainlyPopular1}}}} \large {\underbrace{ \sf{ \pink{@BrainlyPopular1}}}}

Similar questions