Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write an ARM assembly language program Min-Max.s to find the maximum value and the minimum value in the number array NUM1. Look at the following

Write an ARM assembly language program Min-Max.s to find the maximum value and the minimum value in the number array NUM1. Look at the following given code for more details and complete it. Showing the Min in R5 and the Max in R6.

image text in transcribed

The semicolon is uded to lead an inline documentation When you write your program, you could have your info at the top document lock For Example: Your Name, Student Number, what the program is for, and what it does etc. Directives PRESERVE8 THUMB Vector Table Mapped to Address 0 at Reset Linker requiresVectors to be exported AREA RESET, DATA, READONLY ORT Vectors Vectors DCD Ox20001000 DCD Reset_Handlerreset vector stack pointer value when stack is empty ALIGN Your Data section AREA DATA DCD 0 axPDCD Max in inP DCD Min DCD 0 DCD 12 1DCD 3, -7, 2, -2, 10, 20, 30, 15, 32, 8, 64, 66 OINTER DCD NUIM1 The program Linker requires Reset_Handler AREA MYOODE, OODE, READONLY ENTRY EXPORT Reset_Handler eset_Handler User Code Start from the next line Add code below to find the maximun value and the minimum value in the nunber array NUM1 You can use the example in the notes as a reference

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

Beginning C# 5.0 Databases

Authors: Vidya Vrat Agarwal

2nd Edition

1430242604, 978-1430242604

More Books

Students also viewed these Databases questions

Question

denigration of emotional outbursts; being reserved;

Answered: 1 week ago