[Coco] OS-9L2BBS Build Issue

Robert Gault robert.gault at att.net
Thu Jan 9 17:05:23 EST 2014


Kip Koon wrote:
> Hi NitrOS-9 Build Team!
>
><snip>
> WARNING: IFP1 if is not supported; ignoring
>
> ../cmds/BBS.build.asm:00004            ifp1
>
>

This was cause because of other errors in the code, sic. below.

>
> ERROR: Byte overflow
>
> ../cmds/BBS.build.asm:00432            leax   <$FFE0,X
> * 0483 30 88 E0       0.`
>

That's not a good coding style and the meaning is not clear to a reader and 
certainly was not to lwasm. :)

If you want a specific address in regX just load it.
ldx $FFE0
If you want to change regX by a fixed amount, use easily understood numbers.
leax -32,x
leax -$20,x

If you are concerned about code size and your assembler does not automatically 
choose tight code force smaller code.
leax <-32,x
leax <-$20,x

Robert




More information about the Coco mailing list