Store the corresponding indices in registers ax and bx


(ii) Write a subroutine to search for a constant number that can be represented in a byte, in a table, and returns the index of the table where the number is found in the DI register. Assume that the constant number to be searched is pushed first in the stack, followed by the table address, and finally the size of the table. Then, write a code segment to search for the number 5 in Table1 and the number 10 in Table2, using the subroutine, and store the corresponding indices in registers AX and BX respectively.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Store the corresponding indices in registers ax and bx
Reference No:- TGS0793360

Expected delivery within 24 Hours