Question: please modify the code below to meet the criteria . Arm Uvision Keil M3 cortex if need more info lemme know.ty ----code---- AREA name, CODE,
please modify the code below to meet the criteria . Arm Uvision Keil M3 cortex
if need more info lemme know.ty






----code----
AREA name, CODE, READONLY
EXPORT __main
__main
LDR R0, =0x2345ABCD; This is how you assign large value to R0. MOV will NOT work!
* CODE HERE PLEASE *
stop B stop
END
Write an ARM assembly language program that counts the number of 1's for any value in RO. The program must assemble/compile in KEIL and must be able to run in the KEIL simulator. Generally, RO may contain any value, but for purpose of this exercise, you may move 0x2345ABCD into RO. The number irn RO does not need be preserved. You may use any other registers as you need. The result, total count of 1's in RO, should be in R1 when the program ends
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
