Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 deletions
|
|
@ -16,16 +16,16 @@
|
|||
; reg x is the string pointer ;
|
||||
; reg a holds the ascii char to be output ;
|
||||
;-----------------------------------------------------;
|
||||
outeee = $e1d1 ROM: console putchar routine
|
||||
outeee = $e1d1 ;ROM: console putchar routine
|
||||
.or $0f00
|
||||
;-----------------------------------------------------;
|
||||
main ldx #string Point to the string
|
||||
bra puts and print it
|
||||
outs jsr outeee Emit a as ascii
|
||||
inx Advance the string pointer
|
||||
puts ldaa ,x Load a string character
|
||||
bne outs Print it if non-null
|
||||
swi else return to the monitor
|
||||
main ldx #string ;Point to the string
|
||||
bra puts ; and print it
|
||||
outs jsr outeee ;Emit a as ascii
|
||||
inx ;Advance the string pointer
|
||||
puts ldaa ,x ;Load a string character
|
||||
bne outs ;Print it if non-null
|
||||
swi ; else return to the monitor
|
||||
;=====================================================;
|
||||
string .as "Goodbye, World!",#13,#10,#0
|
||||
.en
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue