
	

PrintString:
	push $ra
		li $a3,255
PrintStringAgain:
		lbu $a1,0($a2)
		beq $a1,$a3,PrintStringDone
		nop
		JAL PrintChar  
		nop
		addi $a2,$a2,1
		j PrintStringAgain
		nop
PrintStringDone:
	pop $ra
	jr $ra
	nop
	
	
NewLine:
	push $ra
		li $a1,'\n'
		jal PrintChar
		nop
	pop $ra
	jr $ra
	nop
PrintChar: #;printchar A1
	push $ra
	pushAs
		move $a0,$a1
		li $v0, 11
		syscall
		nop
	popAs
	pop $ra
	jr $ra
	nop