lAddress=(unsigned short)(address32&0xffff); //should be 0x5678 hAddress=(unsigned short)(address32>>16); //should be 0x1234 printf("the sizeof long is %x,the sizeof short is %x
",sizeof(long),sizeof(short)); printf("the Address is %x
",address32); printf("the lAddress is %x
",lAddress); printf("the hAddress is %x
",hAddress); printf("finished");
The S3C44B0X memory controller provides the necessary memory control signals for external memory access. S3C44B0X has the following features; — Little/Big endian(selectable by an external pin)