Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. When loading the pointer value into r1 we use = to do a PC-relative load from a value in the literal area. Why cant
1. When loading the pointer value into r1 we use = to do a PC-relative load from a value in the literal area. Why cant we just specify a 32-bit immediate target to a move instruction like the following?
mov r0,#0xdeadbeef
2. In the example code we orr with an immediate constant pre-pended with #. What would happen if your immediate constant didnt fit? How could you work around that issue?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started