The pseudo code for a procedure that swaps the values of its two parameters is s

The pseudo code for a procedure that swaps the values of its two parameters is
swap(a, b)
temp := a
a = b
b := temp
end swap
Translate the pseudo code procedure to a two register parameter masm procedure
Create an array of randomly ordered integers in the main procedure. Write a two parameter procedure whose first parameter is an array and whose the second parameter is the number of elements in the array. The procedure exchanges each consecutive pair of integers in the array.  Use the invoke and proto directives to write the procedure.

Posted in Uncategorized

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount