Week8_Lab - Faculty of Science Engineering and Technology Computer Systems Week 8 Overview In this laboratory you will begin programming the

Week8_Lab - Faculty of Science Engineering and...

This preview shows page 1 - 3 out of 4 pages.

Faculty of Science, Engineering and Technology Computer Systems Week 8 Overview In this laboratory you will begin programming the Raspberry Pi in ARM Assembly Submission Details You must submit the following files to Canvas: A document containing all required work as described below. Purpose: Learn to implement loops and comaprisons, and timers in ARM assembly with your Raspberry Pi. Task: Time: This lab is due by the start of your week 9 lab. Assessment: This lab is worth 1% of your assessment for this unit, and only if demonstrat- ed to your lab demonstrator in the week it is due. Bring to Lab your Raspberry Pi (either model 2B,3B,3B+, 4B) an SD card and SD card reader 2 lead wires, one LED, one resistors and and breadboard. Resources: Lectures slides - week 7 and 8 RPiGPIO.xls (from Week 7 Lab resources) Video tutorials: The GPIO registers and header pins Connecting up a simple LED circuit
Computer Systems Week 8 Laboratory Instructions Timers 1. Wire up a circuit exactly as shown below (same as last week). Ask your lab demonstrator for help if you need. 2. Start up FASMARM.exe and open up OK2.ASM from the task resources on Canvas. 3. Take some time to step through the code and understand what it is doing 4. Locate the code specifying the number of loop operations (Look for mov r2,$0F0000) 5. Change this to the first six digits of your student number (preceded with #) e.g. my number

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture