710 What will be the values at mem locations02F0h02F2h02 h a
7.10 What will be the values at mem locations02F0h,02F2h,02 h, and 02F8h when the program given in Listing 7.14 is run? Listing 7.14 The assembly code for Prob 7.10. cdecls C, LIST, msp430. text retain refs RESET mov w #WDTPWIWDT HOLD, WDTCTL mov. STACK END, SP Main loop: mov. #0006h,&02 F0ha mov. W #0009h, 602 F2h clr. 602F6h. clr. 602F8h. mov. 602F2h, 602 F4h add 602F0h, &02F4h cmp.w #000Ah, 602 F4h jhs Greater
Solution
values at the location
after applying various startegies at many locations as:-
mov,cmp.grt,clr.
even applying greater and lesser according to conditions
02f0h -0
02f2h-address at locaation 02f6h
02f4h-garbage vaue
02f6h-address at 02f0h
02f8h-garbage
even after poniting it as globals values remain the same
