-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSetUpEnvironment.asm
More file actions
29 lines (20 loc) · 892 Bytes
/
Copy pathSetUpEnvironment.asm
File metadata and controls
29 lines (20 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.data
msg0 : .asciiz "Welcome to the ARITH GAME.....\n"
msg1 : .asciiz "Use Bitmap Display to View the game interface and Keyboard Simulator tool to enter your answers.....\n"
msg2 : .asciiz "Configure Bitmap Display to[2, 2],[512, 512] and base address to 0x100400000\n"
msg3 : .asciiz "If you have, you can play the game now.\n"
.text
la $a0, msg0 # print start prompt to user
li $v0, 4
syscall
la $a0, msg1 # print start prompt to user
li $v0, 4
syscall
la $a0, msg2 # print start prompt to user
li $v0, 4
syscall
la $a0, msg3 # print start prompt to user
li $v0, 4
syscall
li $v0, 10
syscall