Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

lpc 2148. Task 1: Write assembly instructions to, -store two immediate 32-bit constants, 0XAE, 0X01230123 at memory locations 0x4000,0000 and 0x4000,0008. (*try to use EQU

lpc 2148.

Task 1: Write assembly instructions to, -store two immediate 32-bit constants, 0XAE, 0X01230123 at memory locations 0x4000,0000 and 0x4000,0008. (*try to use EQU too) -Use assembler directive DCD to allocate memory for 32-bit number, 0x88997766 and so that it will be placed right after your instruction code in the memory. Use ARM instructions to copy thet32-bit numbers into memory locations 0x4000,000C.

Task 2: write assembly instructions to, - add the first two values(0XAE,0x01230123) -store the result in the 0x400000010. -subtract the second value from third value(0x88997766-0x01230123). - store the result into memory location 0x40000014.

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

Students also viewed these Databases questions