Question: Intro Microprocessor System (CDA 3331C) MSP430G2553 Microprocessor Used **Please type the code** 7.14 is given below: .cdecls C,LIST,msp430.h .text .retain .retainrefs RESET mov.w #WDTPW|WDTHOLD,WDTCTL mov.w
Intro Microprocessor System (CDA 3331C)
MSP430G2553 Microprocessor Used
**Please type the code**



7.14 is given below:
.cdecls C,LIST,"msp430.h"
.text .retain .retainrefs
RESET mov.w #WDTPW|WDTHOLD,WDTCTL mov.w #__STACK_END,SP
Mainloop: mov.w #0006h,&02F0h mov.w #0009h,&02F2h clr.w &02F6h clr.w &02F8h mov.w &02F2h,&02F4h add.w &02F0h,&02F4h cmp.w #000Ah,&02F4h jhs Greater jlo Less
Greater: mov.w &02F0h,&02F8h jmp Mainloop
Less: mov.w &02F2h,&02F6h jmp Mainloop
;------------------------ ;Stack Pointer definition ;------------------------ .global __STACK_END .sect .stack
;------------------- ;Interrupt Vectors ;------------------- .sect RESET_VECTOR .short RESET .end
7.10 What will be the values at memory locations 02FOh, 02F2h, 02F4h, 02F6h, and 02F8h when the program given in Listing 7.14 is run
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
