Question: 2nd question complete answer Assume an array of unsigned bytes in the memory. Write an 8086 assembly language program to find the square root of
Assume an array of unsigned bytes in the memory. Write an 8086 assembly language program to find the square root of each element of the array and store the square root in a second array. If the element is not a perfect square, store 1 in the corresponding index in second array. Ex: arrayl: 25, 26, 16 array2: 5, 1,4 the 2M b) Assuming the clock frequency of 8086 as 8MHZ, calculate the value of "N" in the below program to generate a delay of 500usec. Show the calculations required. Clock Cycles MOV CX, N MOV AL, BL 2 DO: ADDAL, AL 3 NOP LOOP DO ; 17 or 5 2M ) Write the segment registers and its associated pointer registers in 8086. a) ./ Write an 8086 assembly language program to count the number of occurrences of the character 'r, in the given stringmicroprocessors$, . Store the string and the count in the data segment. 3, Write the sequence of three instructions for the addition of two BCD values 47 and 59, so that the result is a valid BCD number. Explain the operation of each instruction involved with necessary steps 3M
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
