FrenzyExists / assembly-homework

Dumb homework, now I see why C was invented

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Microprocessors Exams and Homeworks

This is my homework and exams from the course Microprocessors 1 Fall 2022 at UPRM.

Also I took the course with Prof. Luis Roa Pichardo

The assembler we used is NOT the TI ones nor is a x86-based processor like you'll see around, but rather the MIPS assembler, which is based on the RISC architecture. In terms of the contents, some assignments/exam exersices are in C language while others are in MIPS assembly. For MIPS you can get the MARS assembler, which is what I used. My classmates used qtsim because of the debugger. Whoever designed the UX/UI tho should be fired because its the worst user experience I ever had.

Assignments

  • Hello World

  • Hello Name

Input:

Hello -> the greeting
<Hit-Enter>
Pikachu
  • Arithmetic
  • Arithmetic 2
  • Arrays
  • Arrays 2
  • Arrays 3
  • Floating Point
  • Floating Point 2
  • Conditionals
  • Conditionals 2
  • Subroutine
  • Bubble Sort
  • Stack Manipulation
  • Stack Manipulation 2

Exams

Exam 1

No code, mostly answering questions, haven't upload it yet

Exam 2

Full Code, no questions.

  • Absolute Value
  • Fibbonacci
  • Is Palindrome
  • Word Counter

Final Exam

Some questions and code, 50/50 pretty much. Haven't uploaded the questions either

  • Integer Exponentiation
  • Roman Numerals
  • Duplicate Removal (Assume array is ordered)

A couple of days ago I had a conversation with an instructor in the TI lab from collegue, and told me about the ironing method for pcb design, which me said its common practice in Colombia in DIY pcb design. Gonna see if I can try it out, I want print my simple multivibrator already

About

Dumb homework, now I see why C was invented


Languages

Language:Assembly 74.9%Language:C 24.5%Language:Python 0.6%