	.data
hello_ptr:	.asciiz "hello\n"
	.globl main
	.text
main:
print_hello:
	li	$v0, 4
	la	$a0, hello_ptr 
	syscall
	j   change_string
print_bye:
	li	$v0, 4		
	la	$a0, hello_ptr  
	syscall	                      
end_main:
	li	$v0, 0		
	jr	$ra

change_string:
	la	$t0, hello_ptr
	li	$t1, 'b'
	sb	$t1, ($t0)
	addiu	$t0, $t0, 1
	li	$t1, 'y'
	sb	$t1, ($t0)
	addiu	$t0, $t0, 1
	li	$t1, 'e'
	sb	$t1, ($t0)
	addiu	$t0, $t0, 1   
	li	$t1, '\n'
	sb	$t1, ($t0)
	addiu	$t0, $t0, 1
	li	$t1, 0
	sb	$t1, ($t0)
	j print_bye
