Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. # CS 21 THWMVW -- S1 AY 17-18
  2. # Katrina Kopio --08/20/17
  3. # myfirstprogram.asm -- a simple program where we learn the uber basics
  4.  
  5. .text
  6.  
  7. main: li $t1, 25 #load t1 into 1
  8. li $t2, 025 #load octal 25 (decimal 21) into register t2
  9. li $t3, 0x25 #load hexadecimal 25 (decimal 37) into register t3
  10. li $v0, 10 #syscall code 10
  11. syscall #syscall code 10
  12.  
  13. .data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement