-! optimisation problem

David McNab <[email protected]> Tue, 07 Dec 2004 03:14:52 +1300
Newsgroups gmane.comp.lang.forth.picforth
Message-ID <[email protected]>
Hi,

Is there any reason why:

   var1 @ var2 -!

generate:

   0x00B2	0829	movf	0x29,w
   0x00B3	3C00	sublw	0x00
   0x00B4	07B0	addwf	0x30,f

instead of something like:

   0x00B2	0829	movf	0x29,w
   0x00B3	02B0	subwf	0x30,f

?

I'm porting some assembler to pure forth, and the former generated code 
is causing some issues.

-- 
Cheers
David