Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 image text in transcribed
image text in transcribed
This is all the info i was given, what else do you need? image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

=+10. What is the brand's character or personality?

Answered: 1 week ago