Give the correct ARM assembly instruction to perform the fol
Give the correct ARM assembly instruction to perform the following operations. Each operating will be one load or store instruction. Read a 16-bit signed number into Register R8, assuming R0 already points to the memory location from which we wish to read. Read an 8-bit unsigned number into Register R9, assuming R1 already points to the memory location from which we wish to read. After the data is read, R1 will point to the next byte in the memory. Write an 8-bit number from Register R10 to memory, assuming R2 already points to the memory location to which we wish to write.
Solution
a)for this we need use instruction LDRSB, s indicates sign bits. we need to store the value R8 from meory, the value of this stored in [ R1]
LDRSB R8,[R1]
b)
LDRH R9,[R1]+1
c)
STRH R10,[R2]
