mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-05 06:04:36 +00:00
25 lines
536 B
ArmAsm
25 lines
536 B
ArmAsm
|
.setcpu "6502"
|
||
|
; .segment "SEG000"
|
||
|
.org $2000
|
||
|
jmp L2100
|
||
|
|
||
|
.byte "hello, " ;string should be split by no-op addr change
|
||
|
; .segment "SEG001"
|
||
|
.org $200a
|
||
|
.byte "world"
|
||
|
.byte $80
|
||
|
|
||
|
; .segment "SEG002"
|
||
|
.org $2100
|
||
|
L2100: lda #$00
|
||
|
sta addr1-1 ;edit this operand
|
||
|
sta addr1
|
||
|
sta addr1+1
|
||
|
jmp L2121
|
||
|
|
||
|
.byte "testing stuff."
|
||
|
addr1: .byte "!?---"
|
||
|
|
||
|
L2121: rts
|
||
|
|