Jeff,
>
>Is this a problem with the assembler?
>
Sounds very much so. I don't know the P&E assembler, but I have
written several assemblers and one of the issues I had to face
was signed versus unsigned constant handling. Basically,
if the assembler tries to fit -1 ($ffffffff) into a word and treats
that as unsigned, it will (and should) fail. My soulution was
to add tags for all specific cases (4 of them because there is also
the linker interface) which indicate signed vs. unsigned numbers.
In your case, fitting a negative number into a word might be doable
by anding it with $ffff (since you know it fits in 16 bits), something
like
move.w #$FF64,(CALBOUNDS!.$ffff).w ; 0..99 bounds
where !. is the symbol for logical AND (I wonder if anyone else
still uses it, my assemblers accepts the & as well, of course).
Dimiter
------------------------------------------------------------------------
Dimiter Popoff
http://transgalactic.freeyellow.com <---- now with the new NukemanMessage
Re: 683xx address space and modes...
2002-09-21 by Dimiter Popoff
Attachments
- No local attachments were found for this message.