Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Misaligned structure fields, works regardless... Structure packing?

2005-12-22 by David Hawkins

> Can anyone confirm/refute this?

Hi Thiadmer,

The code generated is dependent on your compiler settings,
so the only 'person' that can answer your question with confidence
is your compiler. So, take a look at the disassembled source code.
It'll show you if a single statement in C code to an unaligned
variable is translating to multiple assembler statements.

Cheers
Dave

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.