Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started