Question 2.2) Using index addressing mode and CodeWarrior assembler

Question
Question 2.2) Using index addressing mode and CodeWarrior assembler directives ORG, DC.B,EQU write a program in assembly language which will do the following: [6 marks] - Fill the memory locations

starting from address $6001 with Ox10 random numbers. Using the index addressing, calculate the sum of the selected numbers. -If the above sum is an odd number, fill the memory location $6000 with 0x01 and if the sum is an even number fill the memory location $6000 with 0x00.

Question image 1Question image 2Question image 3Question image 4