Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q3. (20 points) The programmer is a very sloppy typist and not paying attention to ARM Assembler rules for Keil. He/she has made some sloppy

image text in transcribed

Q3. (20 points) The programmer is a very sloppy typist and not paying attention to ARM Assembler rules for Keil. He/she has made some sloppy mistakes while typing ARM assembly language program on the computer. Your job is to correct the typing mistakes so that the program will not have any syntax error and compile. The program itself is not relevant to this question. Rewrite the code with correction syntax in the table given below. 0x0000 0x0001 Ox0002 Ox0003 Ox0004 Ox0005 Ox0006 Ox0007 Ox0008 Ox0009 Ox000A 0x000 Ox000C Ox000D Ox000E Ox000F AREA UHCLBrog. CODE, READWRITE ENTRYPOINT EXPORT main x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x main MOV RO, OxABGD MOV ri, OxCDEF ADD r2, 04f Stop B STOP DCW OXFC54BA7 Ox87DCFA20 Rewrite here: Ox0000 Ox0001 Ox0002 Ox0003 Ox0004 Ox0005 Ox0006 Ox0007 Ox0008 Ox0009 Ox000A Ox000B Ox000C Ox000D Ox000E Ox000F Q3. (20 points) The programmer is a very sloppy typist and not paying attention to ARM Assembler rules for Keil. He/she has made some sloppy mistakes while typing ARM assembly language program on the computer. Your job is to correct the typing mistakes so that the program will not have any syntax error and compile. The program itself is not relevant to this question. Rewrite the code with correction syntax in the table given below. 0x0000 0x0001 Ox0002 Ox0003 Ox0004 Ox0005 Ox0006 Ox0007 Ox0008 Ox0009 Ox000A 0x000 Ox000C Ox000D Ox000E Ox000F AREA UHCLBrog. CODE, READWRITE ENTRYPOINT EXPORT main x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x main MOV RO, OxABGD MOV ri, OxCDEF ADD r2, 04f Stop B STOP DCW OXFC54BA7 Ox87DCFA20 Rewrite here: Ox0000 Ox0001 Ox0002 Ox0003 Ox0004 Ox0005 Ox0006 Ox0007 Ox0008 Ox0009 Ox000A Ox000B Ox000C Ox000D Ox000E Ox000F

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Accounting questions