A89: 8-bit relocation error


[Prev][Next][Index][Thread]

A89: 8-bit relocation error




I have a program I can't get to work here is a simplified version that
also doesn't work.  Could somebody help me with this.  Thanks.

	include	"tios.h"
	include "sndlib.h"

	xdef	_main
	xdef	_comment
	xdef	_ti89

_main:
	move.b	1,note1
	move.b	2,note2
	move.b	3,note3
	move.b	4,note4
	move.b	5,note5

	lea	song(pc),a0
	jsr	sndlib::PlaySong
	rts

song:
	dc.l	$40000
      dc.b  note1,4,note2,4,note3,4,note4,4,note5,4,255
          ;#I am positive that the error is here!#
_comment:
	dc.b	"Sound Program by Bentensai",0

note1	dc.b	0
note2	dc.b	0
note3	dc.b	0
note4	dc.b	0
note5	dc.b	0

	end



==
Visit my website, Some Assembly Required, at 
http://meltingpot.fortunecity.com/gilford/908 


_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



Follow-Ups: