Re: 請問陣列的排列!
|
||||
---|---|---|---|---|
資深會員
|
你好:
感謝回覆,看來也只好這樣了! Thanks.
發表於: 2008/11/24 13:40
|
|||
|
Re: 請問陣列的排列!
|
||||
---|---|---|---|---|
資深會員
|
這樣可以嗎?
union { unsigned char u8_x[32]; unsigned int u16_x[16]; unsigned long u32_x[8]; }A; PS. 我用的是C18的keyword
發表於: 2008/11/24 13:21
|
|||
|
請問陣列的排列!
|
||||
---|---|---|---|---|
資深會員
|
大家好:
假設有一陣列uns8 X[32];而位址在0x200, 那麼我要指定如: uns16 j=x[2]; //x[1]及X[0] uns32 k=x[6]; //X[5] X[4] X[3] X[2] 我該如何設才正確呢? 煩請告知,Thanks.
發表於: 2008/11/24 11:28
|
|||
|