??? 11/23/05 15:54 Read: times |
#104060 - Neil, you are correct, but Responding to: ???'s previous message |
if a structure is sent from a '51 to a PC as a binary block see what happens.
Neil, you are correct, but I have never heard "Structure Padding" applied in that case. Where I have seen "Structure Padding" used is only where some processor (such as the XA) requires e.g. 16 bit entities to start at even addresses. Now, we all know that anyone will take anything and apply it anywhere, so I have no doubt you have seen what you refer to called "Structure Padding" by someone. My guess is that the OP refer to where you in an XA would write a structure like this char a; char b; char c; char d; char e; #even short f; There are compilers e.g. for the ARM that will do this automatically. Erik |
Topic | Author | Date |
Structure Paddin | 01/01/70 00:00 | |
never in t he '51 | 01/01/70 00:00 | |
Not So fast | 01/01/70 00:00 | |
Neil, you are correct, but | 01/01/70 00:00 | |
Char byte | 01/01/70 00:00 | |
multi-byte characters | 01/01/70 00:00 | |
Not relevant | 01/01/70 00:00 | |
CHAR_BITS >= 8 | 01/01/70 00:00 | |
The char bytes back | 01/01/70 00:00 | |
Not relevant to the 8-bit processors | 01/01/70 00:00 | |
Windoze | 01/01/70 00:00 | |
That's a good one :) | 01/01/70 00:00 | |
XP | 01/01/70 00:00 | |
XP means | 01/01/70 00:00 | |
xp never crashes... | 01/01/70 00:00 | |
applications | 01/01/70 00:00 | |
two things coming to mind | 01/01/70 00:00 | |
[OT] Keil?![]() | 01/01/70 00:00 |