Suppose there are two preloaded data arrays in memory named Array1 and Array2, each has 40 words. Design a piece of assembly code to measure the count of odd numbers in each of the arrays (num1 and num2); compare num1 and num2, store a “1” in r6 if num1 > num2, “0” otherwise. You need to design a subroutine to check the number is odd or not.