	.text
	.globl main
main:
	li $v0,4		# print prompt "Enter your name: " 
        la $a0,yourname		
        syscall			# system call to invoke operating system
	
	li $v0,8		# service 8, read string to buffer "name"
	la $a0,name		# $a0 = address of buffer
	li $a1,16		# $a1 = length of buffer
	syscall                 # Invoke the operating system.
	
	li $v0,4		# print "Your name is:"
	la $a0,nameprint	
	syscall		
	
	li $v0,4		# print what you inputed
	la $a0,name
	syscall		

	.data
yourname: .asciiz "Please Enter Your Name\n"
name: .space 16
nameprint: .asciiz "Your name is\n"
