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.



Related Questions

Submit query

Getting answers to your urgent problems is simple. Submit your query in the given box and get answers Instantly.

Submit a new Query

Please Add files or description to proceed


Assignment is successfully created