[Coco] Unit tests on an 8 bit machine

Joel Rees joel.rees at gmail.com
Sat Dec 2 00:53:44 EST 2023


On Sat, Dec 2, 2023 at 1:33 PM Sean Conner via Coco
<coco at maltedmedia.com> wrote:
>
> It was thus said that the Great Joel Rees via Coco once stated:
8-o
> [...]
> > As many as seven, if I recall correctly, depending on settings. It can
> > optimize offsets without hints.
>
>   I'm ... not sure how I feel about that.  It means the source code might
> not match the binary code, and some people worry about that.  My own
> assembler will warn about such issues though, and the only "optimization" it
> does is change '0,reg' to ',reg' (even when the expression before the comma
> evalutes to 0), but you can easily override that if you want.

I just went hunting for the information on number of passes and optimization.

The only thing I seem to find is in the updates:

**
2018-12-12: LWTOOLS 4.16. The most significant update to this version
is the operandsizewarning pragma which will cause warnings to be
generated for lines where a smaller addressing mode could be used.
Also of use is the new << prefix for index offsets to force 5 bit
offset mode.
**

-- 
Joel Rees

http://reiisi.blogspot.jp/p/novels-i-am-writing.html


More information about the Coco mailing list