Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

kiel program first part you have to fix the error and run it . the code is given in the box. second part please shift

kiel program

image text in transcribed

image text in transcribed

first part you have to fix the error and run it . the code is given in the box. second part please shift 8bit to left and run it. please give me screenshots of how you did in both parts. Thankyou

01. 40 PUNTS 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_inmain. 2. Make sure you write YOUR name and student ID in the program AREA aami, CODE, READONLY ENTRY EXPORT main - -x-x-x-x-x-x-x-x-x-X-X.-X-X-X-X-X-X-X-X | Student Name: Student ID: ma 10V ro, #OXAS MOV , #OXCD ADD 22, 10, 1 stop EID stop 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. 01. 40 PUNTS 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_inmain. 2. Make sure you write YOUR name and student ID in the program AREA aami, CODE, READONLY ENTRY EXPORT main - -x-x-x-x-x-x-x-x-x-X-X.-X-X-X-X-X-X-X-X | Student Name: Student ID: ma 10V ro, #OXAS MOV , #OXCD ADD 22, 10, 1 stop EID stop 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

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

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

More Books

Students also viewed these Databases questions