Give the value in data memory 0 times 139 after the followin

Give the value in data memory 0 times 139 after the following code is executed: EQU YOURDATA = 30 .EQU YOURLOC = 0 times 139 .EQU YOURFACTOR = 0 times 10 LDI R16, YOURDATA ADD R16, YOURFACTOR. STS YOURLOC, R16 Answer: Value on 0 times 139 = 0x

Solution

Answer:

Value on 0x139 = 0x2E

decimal converted into hexadecimal we will get 0001 1110. Now add both

u wIlll get 0010 1110 which in hexadecimal is 2E or u can say 0x2E.

 Give the value in data memory 0 times 139 after the following code is executed: EQU YOURDATA = 30 .EQU YOURLOC = 0 times 139 .EQU YOURFACTOR = 0 times 10 LDI R

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site