
;  GNU C 2.7.2 [AL 1.1, MM 40] RISC NEWS-OS compiled by CC

;  Cc1 defaults:
;  -mmemcpy

;  Cc1 arguments (-G value = 0, Cpu = 3000, ISA = 1):
;  -quiet -dumpbase -O2 -Wall -o

gcc2_compiled.:
__gnu_compiled_c:
	.global	w65c02seq
	.code
	.align	2
w65c02seq:
	.byte	0
	.byte	0
	.byte	0
	.byte	7
	.word	w65c02_BRK
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_r
	.word	w65c02_Izp_xI
	.word	w65c02_ORA
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_TSB
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_r
	.word	w65c02_zp
	.word	w65c02_ORA
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_ASL
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_RMB0
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_PHP
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_imm
	.word	w65c02_ORA
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_acc
	.word	w65c02_ASL
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_rw
	.word	w65c02_a
	.word	w65c02_TSB
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a
	.word	w65c02_ORA
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_rw
	.word	w65c02_a
	.word	w65c02_ASL
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_bbr
	.word	w65c02_BBR0
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_beq
	.word	w65c02_BPL
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_r
	.word	w65c02_IzpI_y
	.word	w65c02_ORA
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_r
	.word	w65c02_IzpI
	.word	w65c02_ORA
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_TRB
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_zp_x
	.word	w65c02_ORA
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_rw
	.word	w65c02_zp_x
	.word	w65c02_ASL
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_RMB1
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_CLC
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_y
	.word	w65c02_ORA
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_acc
	.word	w65c02_INC
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_rw
	.word	w65c02_a
	.word	w65c02_TRB
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_x
	.word	w65c02_ORA
	.byte	0
	.byte	0
	.byte	0
	.byte	7
	.word	w65c02_rw
	.word	w65c02_a_x
	.word	w65c02_ASL
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_bbr
	.word	w65c02_BBR1
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_jsr
	.word	w65c02_a
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_r
	.word	w65c02_Izp_xI
	.word	w65c02_AND
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_r
	.word	w65c02_zp
	.word	w65c02_BIT
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_r
	.word	w65c02_zp
	.word	w65c02_AND
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_ROL
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_RMB2
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_PLP
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_imm
	.word	w65c02_AND
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_acc
	.word	w65c02_ROL
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a
	.word	w65c02_BIT
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a
	.word	w65c02_AND
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_rw
	.word	w65c02_a
	.word	w65c02_ROL
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_bbr
	.word	w65c02_BBR2
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_bne
	.word	w65c02_BMI
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_r
	.word	w65c02_IzpI_y
	.word	w65c02_AND
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_r
	.word	w65c02_IzpI
	.word	w65c02_AND
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_zp_x
	.word	w65c02_BIT
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_zp_x
	.word	w65c02_AND
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_rw
	.word	w65c02_zp_x
	.word	w65c02_ROL
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_RMB3
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_SEC
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_y
	.word	w65c02_AND
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_acc
	.word	w65c02_DEC
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_x
	.word	w65c02_BIT
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_x
	.word	w65c02_AND
	.byte	0
	.byte	0
	.byte	0
	.byte	7
	.word	w65c02_rw
	.word	w65c02_a_x
	.word	w65c02_ROL
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_bbr
	.word	w65c02_BBR3
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_RTI
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_r
	.word	w65c02_Izp_xI
	.word	w65c02_EOR
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_r
	.word	w65c02_zp
	.word	w65c02_EOR
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_LSR
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_RMB4
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_PHA
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_imm
	.word	w65c02_EOR
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_acc
	.word	w65c02_LSR
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_jmp
	.word	w65c02_a
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a
	.word	w65c02_EOR
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_rw
	.word	w65c02_a
	.word	w65c02_LSR
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_bbr
	.word	w65c02_BBR4
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_beq
	.word	w65c02_BVC
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_r
	.word	w65c02_IzpI_y
	.word	w65c02_EOR
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_r
	.word	w65c02_IzpI
	.word	w65c02_EOR
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_zp_x
	.word	w65c02_EOR
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_rw
	.word	w65c02_zp_x
	.word	w65c02_LSR
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_RMB5
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_CLI
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_y
	.word	w65c02_EOR
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_PHY
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_x
	.word	w65c02_EOR
	.byte	0
	.byte	0
	.byte	0
	.byte	7
	.word	w65c02_rw
	.word	w65c02_a_x
	.word	w65c02_LSR
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_bbr
	.word	w65c02_BBR5
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_RTS
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_r
	.word	w65c02_Izp_xI
	.word	w65c02_ADC
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_w
	.word	w65c02_zp
	.word	w65c02_STZ
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_r
	.word	w65c02_zp
	.word	w65c02_ADC
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_ROR
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_RMB6
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_PLA
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_imm
	.word	w65c02_ADC
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_acc
	.word	w65c02_ROR
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_jmp
	.word	w65c02_IaI
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a
	.word	w65c02_ADC
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_rw
	.word	w65c02_a
	.word	w65c02_ROR
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_bbr
	.word	w65c02_BBR6
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_bne
	.word	w65c02_BVS
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_r
	.word	w65c02_IzpI_y
	.word	w65c02_ADC
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_r
	.word	w65c02_IzpI
	.word	w65c02_ADC
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_w
	.word	w65c02_zp_x
	.word	w65c02_STZ
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_zp_x
	.word	w65c02_ADC
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_rw
	.word	w65c02_zp_x
	.word	w65c02_ROR
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_RMB7
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_SEI
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_y
	.word	w65c02_ADC
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_PLY
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_jmp
	.word	w65c02_Ia_xI
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_x
	.word	w65c02_ADC
	.byte	0
	.byte	0
	.byte	0
	.byte	7
	.word	w65c02_rw
	.word	w65c02_a_x
	.word	w65c02_ROR
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_bbr
	.word	w65c02_BBR7
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_bra
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_w
	.word	w65c02_Izp_xI
	.word	w65c02_STA
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_w
	.word	w65c02_zp
	.word	w65c02_STY
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_w
	.word	w65c02_zp
	.word	w65c02_STA
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_w
	.word	w65c02_zp
	.word	w65c02_STX
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_SMB0
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_DEY
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_imm
	.word	w65c02_BIT
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_TXA
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_w
	.word	w65c02_a
	.word	w65c02_STY
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_w
	.word	w65c02_a
	.word	w65c02_STA
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_w
	.word	w65c02_a
	.word	w65c02_STX
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_bbs
	.word	w65c02_BBS0
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_beq
	.word	w65c02_BCC
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_w
	.word	w65c02_IzpI_y
	.word	w65c02_STA
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_w
	.word	w65c02_IzpI
	.word	w65c02_STA
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_w
	.word	w65c02_zp_x
	.word	w65c02_STY
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_w
	.word	w65c02_zp_x
	.word	w65c02_STA
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_w
	.word	w65c02_zp_y
	.word	w65c02_STX
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_SMB1
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_TYA
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_w
	.word	w65c02_a_y
	.word	w65c02_STA
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_TXS
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_w
	.word	w65c02_a
	.word	w65c02_STZ
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_w
	.word	w65c02_a_x
	.word	w65c02_STA
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_w
	.word	w65c02_a_x
	.word	w65c02_STZ
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_bbs
	.word	w65c02_BBS1
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_imm
	.word	w65c02_LDY
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_r
	.word	w65c02_Izp_xI
	.word	w65c02_LDA
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_imm
	.word	w65c02_LDX
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_r
	.word	w65c02_zp
	.word	w65c02_LDY
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_r
	.word	w65c02_zp
	.word	w65c02_LDA
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_r
	.word	w65c02_zp
	.word	w65c02_LDX
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_SMB2
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_TAY
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_imm
	.word	w65c02_LDA
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_TAX
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a
	.word	w65c02_LDY
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a
	.word	w65c02_LDA
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a
	.word	w65c02_LDX
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_bbs
	.word	w65c02_BBS2
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_bne
	.word	w65c02_BCS
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_r
	.word	w65c02_IzpI_y
	.word	w65c02_LDA
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_r
	.word	w65c02_IzpI
	.word	w65c02_LDA
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_zp_x
	.word	w65c02_LDY
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_zp_x
	.word	w65c02_LDA
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_zp_y
	.word	w65c02_LDX
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_SMB3
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_CLV
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_y
	.word	w65c02_LDA
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_TSX
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_x
	.word	w65c02_LDY
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_x
	.word	w65c02_LDA
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_y
	.word	w65c02_LDX
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_bbs
	.word	w65c02_BBS3
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_imm
	.word	w65c02_CPY
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_r
	.word	w65c02_Izp_xI
	.word	w65c02_CMP
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_r
	.word	w65c02_zp
	.word	w65c02_CPY
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_r
	.word	w65c02_zp
	.word	w65c02_CMP
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_DEC
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_SMB4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_INY
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_imm
	.word	w65c02_CMP
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_DEX
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_WAI
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a
	.word	w65c02_CPY
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a
	.word	w65c02_CMP
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_rw
	.word	w65c02_a
	.word	w65c02_DEC
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_bbs
	.word	w65c02_BBS4
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_bne
	.word	w65c02_BNE
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_r
	.word	w65c02_IzpI_y
	.word	w65c02_CMP
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_r
	.word	w65c02_IzpI
	.word	w65c02_CMP
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_zp_x
	.word	w65c02_CMP
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_rw
	.word	w65c02_zp_x
	.word	w65c02_DEC
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_SMB5
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_CLD
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_y
	.word	w65c02_CMP
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_PHX
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_STP
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_x
	.word	w65c02_CMP
	.byte	0
	.byte	0
	.byte	0
	.byte	7
	.word	w65c02_rw
	.word	w65c02_a_x
	.word	w65c02_DEC
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_bbs
	.word	w65c02_BBS5
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_imm
	.word	w65c02_CPX
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_r
	.word	w65c02_Izp_xI
	.word	w65c02_SBC
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_r
	.word	w65c02_zp
	.word	w65c02_CPX
	.byte	0
	.byte	0
	.byte	0
	.byte	3
	.word	w65c02_r
	.word	w65c02_zp
	.word	w65c02_SBC
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_INC
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_SMB6
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_INX
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_imm
	.word	w65c02_SBC
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_NOP
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a
	.word	w65c02_CPX
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a
	.word	w65c02_SBC
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_rw
	.word	w65c02_a
	.word	w65c02_INC
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_bbs
	.word	w65c02_BBS6
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_beq
	.word	w65c02_BEQ
	.space	4
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_r
	.word	w65c02_IzpI_y
	.word	w65c02_SBC
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_r
	.word	w65c02_IzpI
	.word	w65c02_SBC
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_zp_x
	.word	w65c02_SBC
	.byte	0
	.byte	0
	.byte	0
	.byte	6
	.word	w65c02_rw
	.word	w65c02_zp_x
	.word	w65c02_INC
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_rw
	.word	w65c02_zp
	.word	w65c02_SMB7
	.byte	0
	.byte	0
	.byte	0
	.byte	2
	.word	w65c02_SED
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_y
	.word	w65c02_SBC
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_PLX
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.word	w65c02_ERR
	.space	8
	.byte	0
	.byte	0
	.byte	0
	.byte	4
	.word	w65c02_r
	.word	w65c02_a_x
	.word	w65c02_SBC
	.byte	0
	.byte	0
	.byte	0
	.byte	7
	.word	w65c02_rw
	.word	w65c02_a_x
	.word	w65c02_INC
	.byte	0
	.byte	0
	.byte	0
	.byte	5
	.word	w65c02_bbs
	.word	w65c02_BBS7
	.space	4
	.align	2
__LC0:
	.ascii	"w65c02_error(%04x)\000"
	.code
	.align	1
	.global	w65c02_err
w65c02_err:
;	.frame	%sp,12,$31		# vars= 0, regs= 1/0, args= 8, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	sub	%sp,0x2		; 	xsub	%sp,%sp,8
	ext	__LC0+0x0@h	; 	xld.w	%r10,__LC0
	ext	__LC0+0x0@m
	ld.w	%r10,__LC0+0x0@l
	ld.w	[%sp+0x0],%r10	; 	xld.w	[%sp],%r10
	ext	w65c02+0x8@ah	; 	xld.uh	%r10,[w65c02+8]
	ext	w65c02+0x8@al
	ld.uh	%r10,[%r8]
	ld.w	[%sp+0x1],%r10	; 	xld.w	[%sp+4],%r10
	ext	die@rm		; 	xcall	die
	call	die@rl
	add	%sp,0x2		; 	xadd	%sp,%sp,8
	ret
	.align	1
	.global	w65c02_adcd
w65c02_adcd:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	w65c02_get_p_C@rm	; 	xcall	w65c02_get_p_C
	call	w65c02_get_p_C@rl
	ld.w	%r13,%r10
	ext	w65c02+0x0@ah	; 	xld.ub	%r15,[w65c02]
	ext	w65c02+0x0@al
	ld.ub	%r15,[%r8]
	ld.w	%r12,%r13
	and	%r12,0x1	; 	xand	%r12,%r12,0x00000001
	ld.w	%r10,%r15
	and	%r10,0xf	; 	xand	%r10,%r10,0x0000000f
	ld.w	%r11,%r0
	and	%r11,0xf	; 	xand	%r11,%r11,0x0000000f
	add	%r10,%r11
	ld.w	%r4,%r10
	add	%r4,%r12
	ext	0x3		; 	xld.w	%r5,0x000000f0		; 240
	ld.w	%r5,0x30
	ld.w	%r11,%r15
	and	%r11,%r5
	ld.w	%r10,%r0
	and	%r10,%r5
	ld.w	%r14,%r11
	add	%r14,%r10
	cmp	%r4,0x9		; 	xcmp	%r4,9
	jrle	__LX72		; 	xjrle	__L72
	add	%r4,0x6		; 	xadd	%r4,%r4,6
	add	%r14,0x10	; 	xadd	%r14,%r14,16
__LX72:				; __L72:
	ld.w	%r12,%r13
	ext	0x1ffc		; 	xand	%r12,%r12,0xffffff3c
	and	%r12,0x3c
	ext	0x2		; 	xld.w	%r13,0x00000080		; 128
	ld.w	%r13,0x0
	ld.w	%r10,%r14
	and	%r10,%r13
	or	%r12,%r10
	ld.w	%r10,%r15
	xor	%r10,%r0
	not	%r10,%r10
	ld.w	%r11,%r15
	xor	%r11,%r14
	and	%r10,%r11
	and	%r10,%r13
	sra	%r10,0x1	; 	xsra	%r10,1
	ld.w	%r13,%r12
	or	%r13,%r10
	ext	0x2		; 	xcmp	%r14,144
	cmp	%r14,0x10
	jrle	__LX73		; 	xjrle	__L73
	ext	0x1		; 	xadd	%r14,%r14,96
	add	%r14,0x20
__LX73:				; __L73:
	ld.w	%r10,%r4
	and	%r10,0xf	; 	xand	%r10,%r10,0x0000000f
	ld.w	%r11,%r14
	and	%r11,%r5
	ld.w	%r15,%r10
	or	%r15,%r11
	ld.w	%r10,%r14
	sra	%r10,0x8	; 	xsra	%r10,8
	ld.w	%r11,%r10
	and	%r11,0x1	; 	xand	%r11,%r11,0x00000001
	cmp	%r15,0x0
	jrne	__LX74		; 	xjrne	__L74
	ld.w	%r10,%r13
	or	%r10,0x2	; 	xoor	%r10,%r10,0x00000002
	ld.w	%r13,%r10
__LX74:				; __L74:
	or	%r13,%r11
	ext	w65c02+0x0@ah	; 	xld.b	[w65c02],%r15
	ext	w65c02+0x0@al
	ld.b	[%r8],%r15
	ld.w	%r12,%r13
	call	w65c02_set_p_C	; 	xcall	w65c02_set_p_C
	popn	%r0
	ret
	.align	1
	.global	w65c02_sbcd
w65c02_sbcd:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	call	w65c02_get_p_C	; 	xcall	w65c02_get_p_C
	ld.w	%r13,%r10
	ext	w65c02+0x0@ah	; 	xld.ub	%r15,[w65c02]
	ext	w65c02+0x0@al
	ld.ub	%r15,[%r8]
	not	%r12,%r13
	and	%r12,0x1	; 	xand	%r12,%r12,0x00000001
	ld.w	%r10,%r15
	and	%r10,0xf	; 	xand	%r10,%r10,0x0000000f
	ld.w	%r11,%r0
	and	%r11,0xf	; 	xand	%r11,%r11,0x0000000f
	sub	%r10,%r11
	ld.w	%r4,%r10
	sub	%r4,%r12
	ext	0x3		; 	xld.w	%r5,0x000000f0		; 240
	ld.w	%r5,0x30
	ld.w	%r11,%r15
	and	%r11,%r5
	ld.w	%r10,%r0
	and	%r10,%r5
	ld.w	%r14,%r11
	sub	%r14,%r10
	ld.w	%r10,%r4
	and	%r10,0x10	; 	xand	%r10,%r10,0x00000010
	jreq	__LX77		; 	xjreq	__L77
	sub	%r4,0x6		; 	xsub	%r4,%r4,6
	sub	%r14,0x10	; 	xsub	%r14,%r14,16
__LX77:				; __L77:
	ld.w	%r12,%r13
	ext	0x1ffc		; 	xand	%r12,%r12,0xffffff3c
	and	%r12,0x3c
	ext	0x2		; 	xld.w	%r13,0x00000080		; 128
	ld.w	%r13,0x0
	ld.w	%r10,%r14
	and	%r10,%r13
	or	%r12,%r10
	ld.w	%r10,%r15
	xor	%r10,%r0
	ld.w	%r11,%r15
	xor	%r11,%r14
	and	%r10,%r11
	and	%r10,%r13
	sra	%r10,0x1	; 	xsra	%r10,1
	ld.w	%r13,%r12
	or	%r13,%r10
	ld.w	%r10,%r14
	ext	0x4		; 	xand	%r10,%r10,0x00000100
	and	%r10,0x0
	jreq	__LX78		; 	xjreq	__L78
	ext	0x1		; 	xsub	%r14,%r14,96
	sub	%r14,0x20
__LX78:				; __L78:
	ld.w	%r11,%r4
	and	%r11,0xf	; 	xand	%r11,%r11,0x0000000f
	ld.w	%r10,%r14
	and	%r10,%r5
	ld.w	%r15,%r11
	or	%r15,%r10
	ld.w	%r10,%r14
	sra	%r10,0x8	; 	xsra	%r10,8
	not	%r10,%r10
	ld.w	%r11,%r10
	and	%r11,0x1	; 	xand	%r11,%r11,0x00000001
	cmp	%r15,0x0
	jrne	__LX79		; 	xjrne	__L79
	ld.w	%r10,%r13
	or	%r10,0x2	; 	xoor	%r10,%r10,0x00000002
	ld.w	%r13,%r10
__LX79:				; __L79:
	or	%r13,%r11
	ext	w65c02+0x0@ah	; 	xld.b	[w65c02],%r15
	ext	w65c02+0x0@al
	ld.b	[%r8],%r15
	ld.w	%r12,%r13
	call	w65c02_set_p_C	; 	xcall	w65c02_set_p_C
	popn	%r0
	ret
	.align	1
	.global	w65c02_get_p_C
w65c02_get_p_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	w65c02+0x4@h	; 	xld.w	%r11,w65c02+4
	ext	w65c02+0x4@m
	ld.w	%r11,w65c02+0x4@l
	ld.ub	%r12,[%r11]	; 	xld.ub	%r12,[%r11]
	and	%r12,0xc	; 	xand	%r12,%r12,0x0000000c
	ext	0x1		; 	xld.ub	%r10,[%r11+1]
	ld.ub	%r10,[%r11]
	srl	%r10,0x1	; 	xsrl	%r10,1
	ext	0x1		; 	xand	%r10,%r10,0x00000040
	and	%r10,0x0
	or	%r12,%r10
	ext	0x3		; 	xsub	%r10,%r11,3
	sub	%r10,%r11
	ld.ub	%r10,[%r10]	; 	xld.ub	%r10,[%r10]
	and	%r10,0x1	; 	xand	%r10,%r10,0x00000001
	or	%r12,%r10
	sub	%r11,0x2	; 	xsub	%r11,%r11,2
	ld.uh	%r11,[%r11]	; 	xld.uh	%r11,[%r11]
	ld.ub	%r10,%r11
	ld.uh	%r10,%r10
	cmp	%r10,0x0
	jrne	__LX82		; 	xjrne	__L82
	or	%r12,0x2	; 	xoor	%r12,%r12,0x00000002
__LX82:				; __L82:
	ld.w	%r10,%r11
	ext	0x202		; 	xand	%r10,%r10,0x00008080
	and	%r10,0x0
	jreq	__LX83		; 	xjreq	__L83
	ext	0x2		; 	xoor	%r12,%r12,0x00000080
	or	%r12,0x0
__LX83:				; __L83:
	ld.w	%r10,%r12
	ext	0x0		; 	xoor	%r10,%r10,0x00000030
	or	%r10,0x30
	ret
	.align	1
	.global	w65c02_set_p_C
w65c02_set_p_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	w65c02+0x4@h	; 	xld.w	%r11,w65c02+4
	ext	w65c02+0x4@m
	ld.w	%r11,w65c02+0x4@l
	ld.b	[%r11],%r12	; 	xld.b	[%r11],%r12
	ld.w	%r10,%r12
	sll	%r10,0x1	; 	xsll	%r10,1
	ext	0x1		; 	xld.b	[%r11+1],%r10
	ld.b	[%r11],%r10
	ext	0x3		; 	xsub	%r10,%r11,3
	sub	%r10,%r11
	ld.b	[%r10],%r12	; 	xld.b	[%r10],%r12
	sub	%r11,0x2	; 	xsub	%r11,%r11,2
	not	%r10,%r12
	and	%r10,0x2	; 	xand	%r10,%r10,0x00000002
	sll	%r12,0x8	; 	xsll	%r12,8
	or	%r10,%r12
	ld.h	[%r11],%r10	; 	xld.h	[%r11],%r10
	ret

