1. You will write your code only in C and ARM32 (v6) and it must run in a Linux environment on the pi-cluster.
2. You may not use recursion in your code, processing must only use iterative approaches.
Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: _0206girl
3. You will use the supplied Makefile to compile your program.
4. You may not add any additional #include files.
5. Be aware that we will be testing your code using the supplied .h include files. If you change any of these files (other than version.h) that your code depends on, you run the risk that your code will fail gradescope tests.
6. For the code that you write, you can only use the following C library functions. You can use any functions that are supplied with the starter code.
fread(), fwrite(), fclose(), fopen(), fprintf()
7. All assembly language functions must conform to AArch32 procedure call standards (must have the minimum stack frame and the stack must be properly 8-byte aligned - PA8).
8. Only use the ARM32 assembly instructions listed in the document:
ARM Green Card
9. Follow the
CSE30 C Style Guide
CSE30 Assembly Style Guide
10.You will not need to create any helper functions in these PA's as the functions you need to write are short in length.
11. You may copy and modify any code supplied to you, including code from lecture and discussion, and submit it as part of your work. You should not be copying code from the web or using any AI tools to write your code. Using code obtained from others is a violation of the CSE30 Academic Integrity policy and will be strongly enforced.
Get the Starter files from Github and the setup
Step 1: You need to get the starter files for PA. Login into your account on the pi-cluster and run the following command. You will develop the code on the pi-cluster. You must do the git clone on the pi-cluster.