Hi, > The exampe I've presented is just a toy problem. The real > case is porting a lot of old Z80 code where such constructs > work just fine because everything is byte aligned. Are you just lucky, too, that the byte order of multi-byte items works? ;-) If you were porting from, say, a 68HC11 then you'd be royally screwed with byte order and packing problems. -- Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
Message
RE: [lpc2000] Re: For C Experts
2006-03-31 by Paul Curtis