Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # CS 21 THWMVW -- S1 AY 17-18
- # Katrina Kopio --08/20/17
- # myfirstprogram.asm -- a simple program where we learn the uber basics
- .text
- main: li $t1, 25 #load t1 into 1
- li $t2, 025 #load octal 25 (decimal 21) into register t2
- li $t3, 0x25 #load hexadecimal 25 (decimal 37) into register t3
- li $v0, 10 #syscall code 10
- syscall #syscall code 10
- .data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement