From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2003-06-11 18:43:44
How do I get rid of the range errors in the following code? Adding a
.org $0801 before basicstub helps, but that doesn't seem right.
.segment "STARTUP"
.word basicstub ; load address
basicstub:
.word @nextline
.word 2003
.byte $9e
.byte ((init / 1000) .mod 10) + $30
.byte ((init / 100 ) .mod 10) + $30
.byte ((init / 10 ) .mod 10) + $30
.byte ((init ) .mod 10) + $30
.byte 0
@nextline:
.word 0
.code
init:
rts
--
___ . . . . . + . . o
_|___|_ + . + . + . Per Olofsson, arkadspelare
o-o . . . o + MagerValp_at_cling.gu.se
- + + . http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-06-11 18:46:01 CEST