[Excerpts] MIPS Assembly Language: Comparing Two Integers Using Procedures and Without
Channel: Lighton Phiri
Date: 2019-09-23

Excerpt from Lecture Series 22 No. 5: MIPS Instruction Set Architecture [1, 2, 3].

In class live outline of code using procedures and without procedures. 

Problem: Write an assembly language program that prompts a user to enter two integers and, if the first number is smaller than the second number, it prints "First number is lesss than second". Otherwise, it prints "Second number is less than first".

[1] https://youtu.be/6jUBk7Mlsu8
[2] http://lis.unza.zm/~lightonphiri/teaching/unza/2019/ict1110/handouts/notes-unza19-ict1110-lecture-22.pdf
[3] http://lis.unza.zm/~lightonphiri/teaching/unza/2019/ict1110/handouts/notes-unza19-ict1110-lecture-22-handout.pdf