mirror of
https://github.com/thelbane/Apple-6502-Scaffold.git
synced 2024-06-06 14:29:47 +00:00
24 lines
625 B
NASM
24 lines
625 B
NASM
|
processor 6502
|
||
|
incdir "include"
|
||
|
|
||
|
seg main
|
||
|
org $c00
|
||
|
|
||
|
main subroutine
|
||
|
jsr HOME
|
||
|
|
||
|
jsr print
|
||
|
byte "YOUR PROGRAM WORKED!",0
|
||
|
|
||
|
jsr print
|
||
|
byte '","CALL ",[main]d,'"," TO RUN AGAIN.",0
|
||
|
|
||
|
jmp DOSWRM
|
||
|
|
||
|
; ****************************************
|
||
|
; includes
|
||
|
; ****************************************
|
||
|
|
||
|
include "stdio"
|
||
|
include "print"
|