Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This lab introduces Assembly Language (ASM) Programming for ARM CPUs. Getting Started: 1. The RPi embedded computer uses a 64-bit quad-core CPU. 2. The ARM
This lab introduces Assembly Language (ASM) Programming for ARM CPUs. Getting Started: 1. The RPi embedded computer uses a 64-bit quad-core CPU. 2. The ARM ASM programs covered in the course textbook requires a 64-bit CPU and 64-bit operating system. 3. The default Raspbian/Raspberry Pi OS is 32-bit. (a) You can check whether or not the operating system installed on your RPi is 32-bit or 64-bit by opening the terminal window and running the uname -m command. (b) If the uname -m command displays "aarch64, then the OS installed on your RPi is 64-bit and you can move on to the Program characteristics section. (c) If the uname -m command displays "armv71", then the OS installed on your RPi is 32-bit and you will need to install the 64-bit version of Raspberry Pi OS to complete this lab and future ASM labs. Downloading and installing 64-bit Raspberry Pi OS: NOTE: the RPi Imager tool and 64-bit RPi OS links can be found on the course website Resouce Links tab, at the bottom of the page. 1. Begin by downloading and installing the Raspberry Pi Imager tool 2. Next, download the current 64-bit version of the Raspberry Pi OS. Do not extract the .zip file. 3. Use the RPi Imager tool to install the 64-bit RPi OS onto your SD card. 4. Once the RPi Imager tool is complete, you can boot the new 64-bit RPi OS using your RPi 3 or 4. Program characteristics: 1. Begin by creating the "Hello World" ASM program from the textbook chapter 1 on page 18. 2. Create the "build" program that compiles your ASM program. 3. Run the program to check for errors. 4. Once your "Hello World" ASM program is working correctly, modify the program to display the following, with your name in place of your name): Hello, World! ARM ASM programming is so fun! (your name) Deliverables: 1. Describe your approach to this lab. List any problems that you've encountered and how you overcame these issues. 2. Copy and paste all program source code into the lab report. 3. Video (separate file) of your program execution with results. Your video should begin by displaying your ASM source code, followed by compiling the ASM program, and finally execution of the ASM program. The video resolution should be high enough to read the text on your monitor. 4. Zip all files and submit as Lab 4 using the assignment upload form on the course website. This lab introduces Assembly Language (ASM) Programming for ARM CPUs. Getting Started: 1. The RPi embedded computer uses a 64-bit quad-core CPU. 2. The ARM ASM programs covered in the course textbook requires a 64-bit CPU and 64-bit operating system. 3. The default Raspbian/Raspberry Pi OS is 32-bit. (a) You can check whether or not the operating system installed on your RPi is 32-bit or 64-bit by opening the terminal window and running the uname -m command. (b) If the uname -m command displays "aarch64, then the OS installed on your RPi is 64-bit and you can move on to the Program characteristics section. (c) If the uname -m command displays "armv71", then the OS installed on your RPi is 32-bit and you will need to install the 64-bit version of Raspberry Pi OS to complete this lab and future ASM labs. Downloading and installing 64-bit Raspberry Pi OS: NOTE: the RPi Imager tool and 64-bit RPi OS links can be found on the course website Resouce Links tab, at the bottom of the page. 1. Begin by downloading and installing the Raspberry Pi Imager tool 2. Next, download the current 64-bit version of the Raspberry Pi OS. Do not extract the .zip file. 3. Use the RPi Imager tool to install the 64-bit RPi OS onto your SD card. 4. Once the RPi Imager tool is complete, you can boot the new 64-bit RPi OS using your RPi 3 or 4. Program characteristics: 1. Begin by creating the "Hello World" ASM program from the textbook chapter 1 on page 18. 2. Create the "build" program that compiles your ASM program. 3. Run the program to check for errors. 4. Once your "Hello World" ASM program is working correctly, modify the program to display the following, with your name in place of your name): Hello, World! ARM ASM programming is so fun! (your name) Deliverables: 1. Describe your approach to this lab. List any problems that you've encountered and how you overcame these issues. 2. Copy and paste all program source code into the lab report. 3. Video (separate file) of your program execution with results. Your video should begin by displaying your ASM source code, followed by compiling the ASM program, and finally execution of the ASM program. The video resolution should be high enough to read the text on your monitor. 4. Zip all files and submit as Lab 4 using the assignment upload form on the course website
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started