mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-03 05:49:48 +00:00
24 lines
484 B
ArmAsm
24 lines
484 B
ArmAsm
|
!cpu 6502
|
||
|
* = $2000
|
||
|
jmp L2100
|
||
|
|
||
|
!text "hello, " ;string should be split by no-op addr change
|
||
|
!pseudopc $200a {
|
||
|
!text "world"
|
||
|
!byte $80
|
||
|
|
||
|
} ;!pseudopc
|
||
|
!pseudopc $2100 {
|
||
|
L2100 lda #$00
|
||
|
sta addr1-1 ;edit this operand
|
||
|
sta addr1
|
||
|
sta addr1+1
|
||
|
jmp L2121
|
||
|
|
||
|
!text "testing stuff."
|
||
|
addr1 !text "!?---"
|
||
|
|
||
|
L2121 rts
|
||
|
|
||
|
} ;!pseudopc
|