ca65 V2.15 - Git a85ac88
Main file   : startup.s65
Current file: startup.s65

000000r 1                           .include "zeropage.inc65"
000000r 2               .globalzp sp
000000r 2               .globalzp sreg
000000r 2               .globalzp regsave
000000r 2               .globalzp regbank
000000r 2               .globalzp tmp1
000000r 2               .globalzp tmp2
000000r 2               .globalzp tmp3
000000r 2               .globalzp tmp4
000000r 2               .globalzp tmpstack
000000r 2               .globalzp ptr1
000000r 2               .globalzp ptr2
000000r 2               .globalzp ptr3
000000r 2               .globalzp ptr4
000000r 2               .globalzp _millis
000000r 2               .globalzp _jiffies
000000r 2               .globalzp _seconds
000000r 2               .globalzp _minutes
000000r 2               .globalzp _hours
000000r 2               .globalzp key_code
000000r 2               .globalzp key_modifiers
000000r 2               .globalzp key_tmp1
000000r 2               .globalzp key_tmp2
000000r 2               .globalzp lcd_enable_bits
000000r 2               .globalzp lcd_cursor
000000r 2               .globalzp lcd_row
000000r 2               .globalzp lcd_column
000000r 2               .globalzp _interrupted
000000r 2               
000000r 1               
000000r 1                           .export __STARTUP__ : absolute = 1
000000r 1                           .export _init
000000r 1                           .export _exit
000000r 1               
000000r 1                           .import __RAM_START__
000000r 1                           .import __RAM_SIZE__
000000r 1                           .import _main
000000r 1                           .import zerobss
000000r 1                           .import copydata
000000r 1                           .import initlib
000000r 1                           .import donelib
000000r 1                           .import nmi_handler
000000r 1                           .import irq_handler
000000r 1                           .import irq_init
000000r 1               
000000r 1                           .segment "VECTORS"
000000r 1               
000000r 1  rr rr                    .addr nmi_handler
000002r 1  rr rr                    .addr _init
000004r 1  rr rr                    .addr irq_handler
000006r 1               
000006r 1                           .segment  "STARTUP"
000000r 1               
000000r 1  78           _init:      sei
000001r 1  D8                       cld
000002r 1  A2 FF                    ldx #$ff
000004r 1  9A                       txs
000005r 1               
000005r 1  A9 rr                    lda #<(__RAM_START__ + __RAM_SIZE__)
000007r 1  85 rr                    sta sp
000009r 1  A9 rr                    lda #>(__RAM_START__ + __RAM_SIZE__)
00000Br 1  85 rr                    sta sp + 1
00000Dr 1               
00000Dr 1  20 rr rr                 jsr zerobss
000010r 1  20 rr rr                 jsr copydata
000013r 1  20 rr rr                 jsr initlib
000016r 1               
000016r 1  20 rr rr                 jsr irq_init
000019r 1  58                       cli
00001Ar 1               
00001Ar 1  20 rr rr                 jsr _main
00001Dr 1               
00001Dr 1  20 rr rr     _exit:      jsr donelib
000020r 1  4C rr rr     end:        jmp end
000020r 1               
