Skip to content

Commit

Permalink
Don't copy any extra bytes past the startup code
Browse files Browse the repository at this point in the history
  • Loading branch information
luigidifraia committed May 15, 2018
1 parent d28e615 commit e9fe93e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EasySDK/examples/eapi/test_crt.s
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ startWait:
bne startWait

; copy the final start-up code to RAM (bottom of CPU stack)
ldx #(startUpEnd - startUpCode)
ldx #(startUpEnd - startUpCode - 1)
l1:
lda startUpCode, x
sta $0100, x
Expand Down

0 comments on commit e9fe93e

Please sign in to comment.