Question: Use the template provided in lab 3 p 1 . s to create an assembly program that performs the following 1 . Declare a word

Use the template provided in lab3p1.s to create an assembly program that performs the following
1. Declare a word variable named with value 0x0000FFFF
2. Declare a word variable named with value 0x12345678
3. Declare a word variable named RES1 with value 0x00000000
4. Declare a word variable named RES2 with values 0x00000000
5. Use LSL, AND command, and variables NUM1 and NUM2 to generate 0x12340000 in r3
and store the result in RES1
6. Use MVN, AND command, and variables NUM1 and NUM2 to generate
0x12340000 in r4 and store the result in RES2

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 Programming Questions!