Skip to content

Commit

Permalink
Changed exit system call address to 16.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed May 18, 2024
1 parent 71f03b7 commit 38ad000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/launcher.s
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ _exit:

# Set up the arguments for the exit system call
mv a0,a5 # Argument 0: Return value from main
li a7,15 # Rishka system call number for exit
li a7,16 # Rishka system call number for exit

# Perform the exit system call
scall

0 comments on commit 38ad000

Please sign in to comment.