Assembly program to search for an element in a 10 words list.
We have a DATA array like this: DATA DC.W 13,15,14,68,-3,20,85,30,1,19. Assume that the search key is stored in memory location labeled KEY and the output is the index of the element will be stored in the memory location labeled OINDEX. Show the output stored in the memory location OINDEX after executing the search for the given keys: 1, 6, 9, 15, 68, 13, 19, 30.
Key = 1:
Key = 6:
Key = 9:
Key = 15:
Key = 68:
Key = 13:
Key = 19:
Key = 30: