Are those instructions already in current snap build?
I was going to try the 64bit build today. But after I upgraded current 32bit 
6848 build from 6720 build (of Aug 6),  I found my Z80 program not working 
normally. Any special changes recently?
Both --oldralloc and normal command line "-mz80 -c --std-c99 --codeseg CODE" 
have the same problem.

Woody

http://palmmicro.com/woody/

----- Original Message ----- 
From: "Philipp Klaus Krause" <p...@spth.de>
To: "Sdcc-User" <sdcc-user@lists.sourceforge.net>
Sent: Saturday, September 03, 2011 6:11 PM
Subject: [Sdcc-user] Undocumented Z80 instructions


> Would you be interested in seeing support for some so-called
> undocumented Z80 instructions in sdcc? This would be available via a
> command-line switch, that would allow sdcc to generate the following:
>
> adc a, ir
> add a, ir
> and a, ir
> cp a, ir
> inc ir
> ld ir, ir'
> ld ir, n
> ld ir, r
> ld r, ir
> or a, ir
> sbc a, ir
> sub a, ir
> xor a, ir
>
> Where ir/ir' is iyh or iyl, and r is a, b, c, d or e, and n is an 8-bit
> immediate.
>
> For targets that support them this could result in slightly smaller and
> faster code since it allows more flexible use of iy.
>
> AFAIK most softcore implementation of the Z80 officially support them,
> and they just work on most other implementations as well, even where
> this is not documented.
>
> Philipp
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sdcc-user 


------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to