- Write an assembly function to find the minimum number in anarray of N integers. The inputs are: the address of an array andthe number N; the output is the minimum value in this array. Please1) Draw the stack frame of this function; and 2) implement thefunction in assembly and comment each line.
assembly code must be written in AT&T 64 bit format
an example below:
andq %rdx, %r8 ; x = mask & x
orq %r8, %rax ; result = x | result
Solution