Skip to content

Commit 35a5e91

Browse files
authored
Merge pull request below#52 from maxcnunes/fix-typo-argument-register
Fix typo referecing R0 instead of X0 register
2 parents bb5dbc2 + 981c227 commit 35a5e91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Chapter 02/addexamp2.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ _start: MOV X2, #0x0000000000000003
1717

1818
// Setup the parameters to exit the programc
1919
// and then call the kernel to do it.
20-
// R0 is the return code and will be what we
20+
// X0 is the return code and will be what we
2121
// calculated above.
2222
MOV X16, #1 // System call number 1 terminates this program
2323
SVC #0x80 // Call kernel to terminate the program

0 commit comments

Comments
 (0)