While womdering why my binary to decimal code wasn't working correctly I discovered the following:
LD BC,-10000 should generate 01 F0 D8 machine code with SCW I get 01 F0 D9, similarly
LD BC,-1000 01 18 FC SCW-> 01 18 FD
LD BC,-100 01 9C FF SCW-> 01 9C 00
LD BC,-10 01 F6 FF SCW-> 01 F6 00
I checked SCW against Z80ASM and that generates the code I was expecting.
The workaround for me is to use LD BC,D8F0 etc.
Derry.