about summary refs log tree commit diff
path: root/mips/chapter-2/exercise-1/d.s
blob: e20cd4c1d0b0ad70e71c487889214ef23adb203b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# print t3
	.text
main:
	li	$v0,	1		# print integer
	move	$a0,	$t3		# at t3
	syscall

	li	$v0,	11		# print character
	li	$a0,	10		# newline
	syscall

	li	$v0,	10		# terminate program run
	syscall