Simplified MIPS Assembly Language Programming

Video Lectures

Displaying all 38 video lectures.
Lecture 1
Intro and Mars
Play Video
Intro and Mars
This first tutorial will teach you what MIPS Assembly language is all about, and it will teach you how to download a program to start programming in MIPS.
Lecture 2
Registers
Play Video
Registers
This tutorial gives you an overview of the MARS simulator, and it also teaches you the concept and conventions of registers in MIPS.
Lecture 3
Hello Assembly!
Play Video
Hello Assembly!
Learn to display text to the screen in Assembly language. Make your first program in MIPS Assembly language easily!
Note: If you are using the SPIM simulator, the basic code template is a bit different. Therefore, you need to follow the basic code template provided below when using SPIM (instead of Mars):
.data
# Data declarations go in this section.

.text
.globl main
.ent main
main:

# your program code goes here.

# Done, terminate program.
li $v0, 10
syscall
.end main
Lecture 4
Printing a Character
Play Video
Printing a Character
Ever wonder how to declare and print a character in MIPS Assembly? Well, this tutorial will teach you how.
Lecture 5
Printing an Integer
Play Video
Printing an Integer
Learn how to create and display integers in MIPS Assembly language!
Lecture 6
Printing a Float
Play Video
Printing a Float
Learn how to create and display decimal numbers in MIPS Assembly language!
Lecture 7
Printing a Double
Play Video
Printing a Double
Learn how to create and display double (decimal) number in MIPS Assembly language!
Lecture 8
Adding Integers
Play Video
Adding Integers
Learn how to add integer numbers in MIPS Assembly language!
Lecture 9
Subtracting Integers
Play Video
Subtracting Integers
Learn how to subtract integers in MIPS Assembly language!
Lecture 10
Multiplying Integers mul
Play Video
Multiplying Integers mul
Learn how to do multiplication in MIPS Assembly language using the mul instruction!
Lecture 11
Multiplying Integers mult
Play Video
Multiplying Integers mult
Learn how to multiply integers in MIPS Assembly using the mult instruction!
Lecture 12
Multiplying Integers sll
Play Video
Multiplying Integers sll
Learn how to multiply integers in MIPS using the shift left logical instruction!
Lecture 13
Dividing Integers part 1
Play Video
Dividing Integers part 1
Learn how to divide integers in MIPS Assembly language!
Lecture 14
Dividing Integers part 2
Play Video
Dividing Integers part 2
Learn how to divide integers in MIPS Assembly language!
Lecture 15
Introduction to Functions
Play Video
Introduction to Functions
Learn how to create and call procedures (functions) in MIPS Assembly language!
Lecture 16
Function Arguments and Return Values
Play Video
Function Arguments and Return Values
Learn how to pass arguments to procedures, and learn how to return value from procedures in MIPS Assembly language!
Lecture 17
Saving Registers to the Stack
Play Video
Saving Registers to the Stack
Learn how to save register values on the stack in MIPS Assembly language!
Lecture 18
Nested Procedures
Play Video
Nested Procedures
Learn how to do nested functions in MIPS Assembly language!
Lecture 19
Getting User's Input integers
Play Video
Getting User's Input integers
Learn how to get an integer number from the user!
Lecture 20
Getting User's Input floats
Play Video
Getting User's Input floats
Learn how to get floats or decimal numbers from the user!
Lecture 21
Getting User's Input doubles
Play Video
Getting User's Input doubles
Learn how to get doubles or decimal numbers from the user in MIPS Assembly language!
Lecture 22
Getting Text From The User
Play Video
Getting Text From The User
Learn how to get text or a string from the user in MIPS Assembly language!
Lecture 23
If statements Branching Instructions
Play Video
If statements Branching Instructions
Learn about conditional instructions in MIPS Assembly language!
Lecture 24
Checking If a Number is Less than Another slt
Play Video
Checking If a Number is Less than Another slt
Learn how to use Set Less Than instruction in MIPS Assembly language!
Lecture 25
Branching Pseudo Instructions
Play Video
Branching Pseudo Instructions
Learn how to create if statements using pseudo instructions in MIPS assembly.
Lecture 26
While Loop in MIPS
Play Video
While Loop in MIPS
Learn how to create a while loop in MIPS assembly language!
Lecture 27
Arrays
Play Video
Arrays
Learn how to make and utilize arrays in MIPS assembly language!
Lecture 28
Printing an Array with a While Loop
Play Video
Printing an Array with a While Loop
Learn how to print an array using a while loop in MIPS assembly!
Lecture 29
Array Initializer
Play Video
Array Initializer
Learn how to initialize arrays as soon as you create them in MIPS assembly language!
Lecture 30
Floating Point Arithmetic
Play Video
Floating Point Arithmetic
Learn how to perform arithmetic operations with floats and doubles in MIPS Assembly language!
Lecture 31
More about Floating Point Arithmetic
Play Video
More about Floating Point Arithmetic
Learn how to multiply, add, divide and subtract floats and doubles in MIPS assembly language!
Lecture 32
If Statements with Floats and Doubles
Play Video
If Statements with Floats and Doubles
Learn how to use conditionals (if statements and branching) with floats and doubles in MIPS assembly language!
Lecture 33
Introduction to Recursion
Play Video
Introduction to Recursion
Learn the concept of recursion before we delve into a lower level implementation in MIPS assembly!
Lecture 34
Recursive Factorial Program
Play Video
Recursive Factorial Program
Learn how to code a recursive factorial function in MIPS assembly language!
Lecture 35
Bit Manipulation
Play Video
Bit Manipulation
This video will show you how to do basic bit manipulation in MIPS assembly language. More specifically, you will learn how to clear the first bit in a number.
Lecture 36
Average Program
Play Video
Average Program
In this tutorial, you will learn how to calculate the sum and the average of an array of integer numbers.
Lecture 37
2D Arrays
Play Video
2D Arrays
In this tutorial, you will learn how multi-dimensional arrays are represented in MIPS assembly language!
Lecture 38
2D Array Implementation
Play Video
2D Array Implementation
In this tutorial, you will learn how to write a 2D-array program in MIPS assembly language!