From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-01-08 08:20:27
Hi! On Tue, Jan 07, 2003 at 10:25:20AM +0100, Piotr Fusik wrote: > BTW. here's another solution: > char buffer[size + patchbytes]; > #define realbuffer ((char*) ((int) (buffer + patchbytes) & ~patchbytes)) While this solution avoids the additional pointer, the compiler will still do address calculations at runtime. Using the assembler module solution generates the best code in most situations. Regards Uz -- Ullrich von Bassewitz uz_at_musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-01-08 08:20:31 CET