2019-08-04 21:48:42 +00:00
|
|
|
!cpu 65816
|
|
|
|
* = $1000
|
|
|
|
!as
|
|
|
|
!rs
|
|
|
|
clc
|
|
|
|
xce
|
|
|
|
sep #$ff
|
|
|
|
sep #$ff
|
|
|
|
rep #$80
|
|
|
|
rep #$40
|
|
|
|
rep #$20
|
|
|
|
!al
|
|
|
|
rep #$10
|
|
|
|
!rl
|
|
|
|
rep #$08
|
|
|
|
rep #$04
|
|
|
|
rep #$02
|
|
|
|
rep #$01
|
|
|
|
sep #$00
|
|
|
|
sep #$ff
|
|
|
|
!as
|
|
|
|
!rs
|
|
|
|
rep #$00
|
|
|
|
rep #$ff
|
|
|
|
!al
|
|
|
|
!rl
|
|
|
|
lda #$feed
|
|
|
|
sec
|
|
|
|
xce
|
|
|
|
!as
|
|
|
|
!rs
|
|
|
|
lda #$ff
|
|
|
|
rep #$30
|
|
|
|
lda #$ff
|
|
|
|
clc
|
|
|
|
xce
|
|
|
|
lda #$ff
|
|
|
|
rep #$20
|
|
|
|
!al
|
|
|
|
sep #$10
|
|
|
|
lda #$0000
|
|
|
|
ldx #$01
|
|
|
|
ldy #$02
|
|
|
|
sep #$20
|
|
|
|
!as
|
|
|
|
rep #$10
|
|
|
|
!rl
|
|
|
|
lda #$01
|
|
|
|
ldx #$0000
|
|
|
|
ldy #$0000
|
|
|
|
sep #$30
|
|
|
|
!rs
|
|
|
|
lda #$00
|
|
|
|
pha
|
|
|
|
plp
|
|
|
|
rep #$80
|
2020-10-19 03:30:42 +00:00
|
|
|
bpl L1050
|
2019-08-04 21:48:42 +00:00
|
|
|
|
|
|
|
!byte $00
|
|
|
|
!byte $00
|
|
|
|
|
2020-10-19 03:30:42 +00:00
|
|
|
L1050 sep #$80
|
|
|
|
bpl @L1056
|
|
|
|
bmi @L1058
|
2019-08-04 21:48:42 +00:00
|
|
|
|
2020-10-19 03:30:42 +00:00
|
|
|
@L1056 !byte $00
|
2019-08-04 21:48:42 +00:00
|
|
|
!byte $00
|
|
|
|
|
2020-10-19 03:30:42 +00:00
|
|
|
@L1058 rep #$40
|
|
|
|
bvc @L105E
|
2019-08-04 21:48:42 +00:00
|
|
|
|
|
|
|
!byte $00
|
|
|
|
!byte $00
|
|
|
|
|
2020-10-19 03:30:42 +00:00
|
|
|
@L105E sep #$40
|
|
|
|
bvs @L1064
|
2019-08-04 21:48:42 +00:00
|
|
|
|
|
|
|
!byte $00
|
|
|
|
!byte $00
|
|
|
|
|
2020-10-19 03:30:42 +00:00
|
|
|
@L1064 rep #$01
|
|
|
|
bcc @L106A
|
2019-08-04 21:48:42 +00:00
|
|
|
|
|
|
|
!byte $00
|
|
|
|
!byte $00
|
|
|
|
|
2020-10-19 03:30:42 +00:00
|
|
|
@L106A sep #$01
|
|
|
|
bcs @L1070
|
2019-08-04 21:48:42 +00:00
|
|
|
|
|
|
|
!byte $00
|
|
|
|
!byte $00
|
|
|
|
|
2020-10-19 03:30:42 +00:00
|
|
|
@L1070 rep #$02
|
|
|
|
bne @L1076
|
2019-08-04 21:48:42 +00:00
|
|
|
|
|
|
|
!byte $00
|
|
|
|
!byte $00
|
|
|
|
|
2020-10-19 03:30:42 +00:00
|
|
|
@L1076 sep #$02
|
|
|
|
beq @L107C
|
2019-08-04 21:48:42 +00:00
|
|
|
|
|
|
|
!byte $00
|
|
|
|
!byte $00
|
|
|
|
|
2020-10-19 03:30:42 +00:00
|
|
|
@L107C rep #$20
|
|
|
|
!al
|
2019-08-04 21:48:42 +00:00
|
|
|
php
|
|
|
|
plp
|
2020-10-19 03:30:42 +00:00
|
|
|
lda #$1234
|
|
|
|
sep #$20
|
|
|
|
!as
|
|
|
|
php
|
|
|
|
plp
|
|
|
|
lda #$12
|
2019-09-17 21:38:16 +00:00
|
|
|
rep #$20
|
2019-08-04 21:48:42 +00:00
|
|
|
!al
|
|
|
|
sep #$10
|
2020-10-19 03:30:42 +00:00
|
|
|
jsr @L10A6
|
2019-08-04 21:48:42 +00:00
|
|
|
rep #$30
|
|
|
|
!rl
|
2020-10-19 03:30:42 +00:00
|
|
|
jsr @L10AC
|
2019-08-04 21:48:42 +00:00
|
|
|
sep #$30
|
|
|
|
!as
|
|
|
|
!rs
|
2020-10-19 03:30:42 +00:00
|
|
|
jsr @L10AC
|
2019-08-04 21:48:42 +00:00
|
|
|
rep #$20
|
|
|
|
!al
|
|
|
|
sep #$10
|
2020-10-19 03:30:42 +00:00
|
|
|
jsr @L10A6
|
2019-08-04 21:48:42 +00:00
|
|
|
sep #$30
|
|
|
|
!as
|
2020-10-19 03:30:42 +00:00
|
|
|
jmp @L10B3
|
2019-08-04 21:48:42 +00:00
|
|
|
|
|
|
|
!al
|
2020-10-19 03:30:42 +00:00
|
|
|
@L10A6 lda #$1234
|
2019-08-04 21:48:42 +00:00
|
|
|
ldx #$ff
|
|
|
|
rts
|
|
|
|
|
|
|
|
!as
|
2020-10-19 03:30:42 +00:00
|
|
|
@L10AC lda #$ff
|
2019-08-04 21:48:42 +00:00
|
|
|
ldx #$ee
|
|
|
|
ldy #$dd
|
|
|
|
rts
|
|
|
|
|
2020-10-19 03:30:42 +00:00
|
|
|
@L10B3 rts
|
|
|
|
|