Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Write a program in Easy68K *assembly language* to fulfill the following functions: . . -Read two numbers from keyboard, one for index , one

1. Write a program in Easy68K *assembly language* to fulfill the following functions:

.

.

-Read two numbers from keyboard, one for index, one for the size of the array; Please prompt the user when you are accepting inputs. (10 pts.)

.

-Display the (index % size)th number in the initialized array [2 3 8 1 6 5 4]. (45 pts.)

.

Example:

Input the size of the array: 7

Input the index to display: 25

(then 25%7=4, display 4th number in the array, which is 1)

The value is: 1

.

Note: Please only use Easy68k Assembly language to answer this question. Also please keep the program as simple as possible as I am only a beginner. I will rate your answer, thank you!

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

Intelligent Information And Database Systems 12th Asian Conference ACIIDS 2020 Phuket Thailand March 23 26 2020 Proceedings

Authors: Pawel Sitek ,Marcin Pietranik ,Marek Krotkiewicz ,Chutimet Srinilta

1st Edition

9811533792, 978-9811533792

More Books

Students also viewed these Databases questions