05-12-2009, 02:39 PM
boriel Wrote:LCD Wrote:Because I also coded some stuff in AMOS on Amiga: How about optimised INCR and DECR commands for variables? This can be easyly optimised because Z80 knows INC and DEC commands, and variable=variable+1 is maybe much slower.Well, using -O3 should convert variable=variable+1 to inc(variable). If not, its something to be done.
INCR variable increases the value by one. This will be very handy, I think .
Aha, thank you, I was compiling with -O2 (forgot to change again after changing for a little test)...
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!