Question: This program is writen in assembly language :) 2. Suppose you are given three data items that indicate a starting index in a list, an
This program is writen in assembly language :) 
2. Suppose you are given three data items that indicate a starting index in a list, an array of characters, and an array of link index. You are to write a program that traverses the links and locates the characters in their correct sequence. For each character you locate, copy it to a new array. Sup-pose you used the following sample data, and assumed the arrays use zero-based indexes: start 1 chars: links: HACEBD F G 0 4 56 2 3 70 Then the values copied (in order) to the output array would be A,B,C,D,E,F,G,H. Declare the character array as type BYTE, and to make the problem more interesting, declare the links array type DWORD. 2. Suppose you are given three data items that indicate a starting index in a list, an array of characters, and an array of link index. You are to write a program that traverses the links and locates the characters in their correct sequence. For each character you locate, copy it to a new array. Sup-pose you used the following sample data, and assumed the arrays use zero-based indexes: start 1 chars: links: HACEBD F G 0 4 56 2 3 70 Then the values copied (in order) to the output array would be A,B,C,D,E,F,G,H. Declare the character array as type BYTE, and to make the problem more interesting, declare the links array type DWORD
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
