Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!