Question: Given the following ARM code insert ARM instruction to logically shift left r0 by 8 bits, ahead of the ADD instruction. Re-build (assemble and link)

Given the following ARM code insert ARM instruction to logically shift left r0 by 8 bits, ahead of the ADD instruction. Re-build (assemble and link) it, run it in a simulation/debugger. After the program reaches the stop label take a snapshot of the Keil  Given the following ARM code insert ARM instruction to logically shift
left r0 by 8 bits, ahead of the ADD instruction. Re-build (assemble
This is all the info i was given, what else do you need? and link) it, run it in a simulation/debugger. After the program reaches
the stop label take a snapshot of the Keil This is all

Note: 1. There are two_in_main. 2. Make sure you write YOUR name and student ID in the program AREA asml, CODE, READONLY ENTRY EXPORT main - - - - - - - - - - - - - - - Student Name: : Student ID: - - - - - main MOV r0, #OXAB MOV rl, #OXCD ADD r2, r0, rl stop B stop END Take the program written in Q1, and insert ARM instruction to 'logically shift left' ro by 8 bits, ahead of the ADD instruction. Re-build (assemble and link) it, run it in a simulation/debugger. After the program reaches the 'stop' label take a snapshot of the Keil (if the values in the register are not updated, you might have to click button to allow the simulator to stop and update the CPU register values), email the program and the snapshot to TA for grading (See the powerpoint notes on 'logically shift left' instruction) Q1. (40 points) Write your first assembly language program. Study the code below, type it in keil, build (assemble and link) it, run it in a simulation/debugger. After the program reaches 'stop' take a snapshot of the Keil (if the values in the register are not updated, you might have to click button to allow the simulator to stop and update the CPU register values), email the program and the snapshot to TA for grading. Note: 1. There are two_in_main. 2. Make sure you write YOUR name and student ID in the program AREA asml, CODE, READONLY ENTRY EXPORT main - -x- - - - - -x- - - - - - -x-X-X-X-X-X Student Name: Student ID: main MOV ro, #OXAB MOVrl, #OXCD ADD r2, 10, r1 stop B stop END Q2. (60 points) Take the program written in Q1, and insert ARM instruction to 'logically shift left' ro by 8 bits, ahead of the ADD instruction. Re-build (assemble and link) it, run it in a simulation/debugger. After the program reaches the 'stop' label take a snapshot of the Keil (if the values in the register are not updated, you might have to click button to allow the simulator to stop and update the CPU register values), email the program and the snapshot to TA for grading (See the powerpoint notes on 'logically shift left' instruction) Note: 1. There are two_in_main. 2. Make sure you write YOUR name and student ID in the program AREA asml, CODE, READONLY ENTRY EXPORT main - - - - - - - - - - - - - - - Student Name: : Student ID: - - - - - main MOV r0, #OXAB MOV rl, #OXCD ADD r2, r0, rl stop B stop END Take the program written in Q1, and insert ARM instruction to 'logically shift left' ro by 8 bits, ahead of the ADD instruction. Re-build (assemble and link) it, run it in a simulation/debugger. After the program reaches the 'stop' label take a snapshot of the Keil (if the values in the register are not updated, you might have to click button to allow the simulator to stop and update the CPU register values), email the program and the snapshot to TA for grading (See the powerpoint notes on 'logically shift left' instruction) Q1. (40 points) Write your first assembly language program. Study the code below, type it in keil, build (assemble and link) it, run it in a simulation/debugger. After the program reaches 'stop' take a snapshot of the Keil (if the values in the register are not updated, you might have to click button to allow the simulator to stop and update the CPU register values), email the program and the snapshot to TA for grading. Note: 1. There are two_in_main. 2. Make sure you write YOUR name and student ID in the program AREA asml, CODE, READONLY ENTRY EXPORT main - -x- - - - - -x- - - - - - -x-X-X-X-X-X Student Name: Student ID: main MOV ro, #OXAB MOVrl, #OXCD ADD r2, 10, r1 stop B stop END Q2. (60 points) Take the program written in Q1, and insert ARM instruction to 'logically shift left' ro by 8 bits, ahead of the ADD instruction. Re-build (assemble and link) it, run it in a simulation/debugger. After the program reaches the 'stop' label take a snapshot of the Keil (if the values in the register are not updated, you might have to click button to allow the simulator to stop and update the CPU register values), email the program and the snapshot to TA for grading (See the powerpoint notes on 'logically shift left' instruction)

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!