Question

Embedded System.. 1. Analyze the instruction sets below. LDR R1, [R0, #0x08] SUB R1, R1, R2,...

Embedded System..


1. Analyze the instruction sets below.

LDR R1, [R0, #0x08]

SUB R1, R1, R2, LSR R3

LDR R1,[R0,R2,LSL#2]!

LDR R1, [R0],R2, LSL #1

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Memory: Think of as single one-dimensional array where each cell v Stores a byte size value v Is referred to by a 32 bit address e.g. value at 0x4000 is 0x0a vData is stored in memory as: variables, arrays, structures vBut ARM arithmetic instructions only operate on registers, never directly on memory. vData transfer instructions transfer data between registers and memory: vMemory to register or LOAD from memory to register vRegister to memory or STORE from register to memory

Add a comment
Know the answer?
Add Answer to:
Embedded System.. 1. Analyze the instruction sets below. LDR R1, [R0, #0x08] SUB R1, R1, R2,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT