x86 ASSEMBLY LANGUAGE
Project Description
Write a program that reads an integer which is an index of one array and copies elements of that array to another array. Your program output should be similar to the sample run/output below.
Specifications
Declare two arrays which have five 8-bit elements each.
Define a 8-bit data label named startIndex.
Read an integer from the keyboard and save it in the data label defined above.
Create the following procedures in the program:main – Gets user input and calls other procedures
displayTitle – Prints this project title
copyArray – Copies elements from one array to another
showArray – Displays array contents on the console
endProgram – Prints the termination message
Use LOOP, JMP, and conditional jump instructions in the program.
Use indexed addressing to copy one array to another array starting from the entered index.
Use the following operators and directives in the program: PTR, LENGTHOF, $, ALIGN, and OFFSET.
Use the following arrays for your test program: {1, 2, 3, 4, 5} and {0, 0, 0, 0, 0}.
Use the Irvine32 library for this solution program.

For This or a Similar Paper Click Here To Order Now