Question: create a micro-keil project assembly file, and Compile and execute a program in ARM/thumb assembly to do the following: - Load your ID number as

create a micro-keil project assembly file, and Compile and execute a program in ARM/thumb assembly to do the following:

- Load your ID number as decimal into a register (assume ID is 11223344)

- Check the validity of your ID (valid only if the most significant nibble (4 bits) is ZERO).

- If the ID is invalid, reset the register containing your ID to ZERO

- If the ID is valid, count the number of 1s and 0s in it and store the counts in two memory locations labeled Ones and Zeros respectively (using DCD or EQU directives).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!