Question: Please use ARM Cortex M4 instruction set architecture 1. You have to write a C program to find the prime numbers from the following integers
1. You have to write a C program to find the prime numbers from the following integers 4, 7, 11, 14, 16, 21, 23, 27, 29, 38, 39, 41, 47, 49, 53, 55, 69, 97,99. A) (20 points) Write a flow chart for the problem B) (20 points) Write a C program for the problem c) (40 points) Write an equivalent assembly program for the problem using ARM Cortex- M4 Instructions Set Architecture (ISA). You must use directives such as if you have data section or code section, show them clearly with directives (20 points) Optimize both your c and assembly code so that it takes less number of instructions D)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
