Giter Site home page Giter Site logo

cs2121's Introduction

cs2121

Microprocessors and Interfacing – Semester 1, 2015

Course website.

Tips

  • You can include functions and constants from a separate file using .include "myfile.asm". For an example, see the project. Use this to separate your functions in the labs from the code that uses those functions - this will allow you to reuse the functions more easily later on.
  • The instruction set is your bible. The datasheet explains how to set up different interrupts.

Labs

  1. Data Memory, Program Memory
  2. Add two 16-bit integers using registers.
  3. Add two arrays of integers and store in data memory.
  4. Convert a string to uppercase.
  5. Find the index of a character in a string.
  6. Bubble sort an array of integers.
  7. Functions, Stacks
  8. Load a string from program memory and reverse it into data memory.
  9. Find the length of the longest string in a linked list.
  10. Find the maximum and minimum signed integers in a linked list.
  11. LEDs, Buttons
  12. Display a static pattern on a series of LEDs.
  13. Display a rotating 16-bit pattern on a series of LEDs. The pattern shifts downwards every second.
  14. Display a user-entered pattern on the LEDs for a specified amount of time. The pattern is entered using two push buttons. The user must be able to queue a pattern while the previous one is displaying.
  15. Allow at least 32 patterns to be queued. If more than 4 patterns are queued, display the current pattern at twice the normal speed. If both buttons are pressed simultaneously, empty the queue and stop displaying the current pattern.
  16. LCDs, Keypad
  17. Display the binary value of numeric keypad buttons on a series of LEDs when the button is pressed.
  18. Display a message on an LCD.
  19. Create a calculator for 8-bit addition and subtraction.
  20. Extend the calculator to support 8-bit multiplication and division.
  21. PWM, Motor
  22. Measure the speed of a motor's rotation in revolutions per second using an optointerrupter.
  23. Make an LED fade in and out using PWM.
  24. Control the speed of a motor using a feedback system.

Project

Microwave emulator. Includes a user manual and design manual.

Assignment

Comparing the Instruction Set Architectures of AVR and ARM. Memory Models, Registers, Instruction Set, Data Types.

cs2121's People

Contributors

cloudier avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.