Question: Using Assembly Language for ARM7TDMI. Using Keil software Write a program in ARM assembly to find SQUARE of given numbers, AVERAGE of given numbers, and
Using Assembly Language for ARM7TDMI. Using Keil software
Write a program in ARM assembly to find SQUARE of given numbers, AVERAGE of given numbers, and AVERAGE of SQUARE numbers obtained from given numbers using STMDB and LDMIA instructions. Use the data values from the registers and update the registers value that could be address or data for reasonable cycles/steps. Show the results in UART window with the messages Length DCB 8 Values DCB 2, 4, 8, 7, 6, 5, 3, 9 Msg1 DCB The Square for given series:,0 Msg2 DCB The Average of given series:,0 Msg3 DCB The Average of Square series from given numbers:,0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
