1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-24 15:31:17 +00:00
C02/work/testhdr.a02

23 lines
666 B
Plaintext
Raw Normal View History

2018-01-28 19:47:06 +00:00
;6502 Assembly Language File for DASM Macro Assembler
2018-07-30 02:49:44 +00:00
TRUE EQU $FF ;Bitwise True
FALSE EQU $FF ;Bitwise False
2018-01-28 19:47:06 +00:00
ORG $0200 ;Set Origin
2018-07-30 02:49:44 +00:00
START: JMP main ;Jump to Beginning of Program
2018-01-28 19:47:06 +00:00
;Dummy Functions
2018-07-30 02:49:44 +00:00
GETC: RTS ;Get Character from Keyboard
PUTC: RTS ;Put Character to Screen
PUTS: RTS ;Print String to Screen
STRLEN: RTS ;Return Length of String
EXIT: BRK ;Return to Monitor
ANYKEY DC "Press any key to continue...",0
ONES DC "ZERO ",0,"ONE ",0,"TWO ",0,"THREE",0,"FOUR ",0
"FIVE ",0,"SIX ",0,"SEVEN",0,"EIGHT",0,"NINE ",0
2018-01-28 19:47:06 +00:00