Skip to content

Commit 064b2f0

Browse files
authored
Fix alignment in chapter 1 example code
Change `.align 2` to `.align 4`. The README.md tells users to change `.align 2` to `.align 4`, but the change had not been made in this file.
1 parent 3228b59 commit 064b2f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Chapter 01/HelloWorld.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
.global _start // Provide program starting address to linker
10-
.align 2 // Make sure everything is aligned properly
10+
.align 4 // Make sure everything is aligned properly
1111

1212
// Setup the parameters to print hello world
1313
// and then call the Kernel to do it.

0 commit comments

Comments
 (0)