D
Devrobcom
Hi
I have read somwhere that this problem is handled by the
Intel cpu's (firmware), but what will happen on other types of cpu's.
struct
{
char aa; // even boundary 0xaa00
char bb[4]; // assume on odd boundary 0xaa01
} mstr;
long ll;
ll = *((long*)mstr.bb); // no: 1 do i get an exception?
*((long*)mstr.bb) = ll; // no: 2 do i get an exception?
/dev
I have read somwhere that this problem is handled by the
Intel cpu's (firmware), but what will happen on other types of cpu's.
struct
{
char aa; // even boundary 0xaa00
char bb[4]; // assume on odd boundary 0xaa01
} mstr;
long ll;
ll = *((long*)mstr.bb); // no: 1 do i get an exception?
*((long*)mstr.bb) = ll; // no: 2 do i get an exception?
/dev