Assembly Language - General Init: Difference between revisions
From NerdConsole
Jump to navigationJump to search
NerdOfEpic (talk | contribs) (Created page with "<source lang="ca65" line> ; Purpose: General initialization. ; For: NerdConsole (65C02 Assembly, ca65 format) ; By: David Stephens (NerdOfEpic) ; License: Public Domain - Can be used or modified by anyone ; for any purpose. cld ; Make sure we aren't in BCD mode sei ; Allow interrupts ; Make sure the stack pointer is in the right place ldx #$FF txs </source>") |
NerdOfEpic (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <syntaxhighlight lang="ca65" line> | ||
; Purpose: General initialization. | ; Purpose: General initialization. | ||
; For: NerdConsole (65C02 Assembly, ca65 format) | ; For: NerdConsole (65C02 Assembly, ca65 format) | ||
Line 13: | Line 13: | ||
ldx #$FF | ldx #$FF | ||
txs | txs | ||
</ | </syntaxhighlight> | ||
Back to the list of [[Assembly Language]] files. |
Latest revision as of 14:03, 14 January 2024
; Purpose: General initialization.
; For: NerdConsole (65C02 Assembly, ca65 format)
; By: David Stephens (NerdOfEpic)
; License: Public Domain - Can be used or modified by anyone
; for any purpose.
cld ; Make sure we aren't in BCD mode
sei ; Allow interrupts
; Make sure the stack pointer is in the right place
ldx #$FF
txs
Back to the list of Assembly Language files.