; Set up the stack.
lda #<(__SRAM_START__ + __SRAM_SIZE__)
+ ldx #>(__SRAM_START__ + __SRAM_SIZE__)
sta sp
- lda #>(__SRAM_START__ + __SRAM_SIZE__)
- sta sp+1 ; Set argument stack ptr
+ stx sp+1 ; Set argument stack ptr
; Call the module constructors.