SDCC 資料型態 (data type)

Posted by: 邱小新 at 下午3:15 in
typewidthdefaultsigned rangeunsigned range
bool1 bitunsignedx0 ~ 1
char1 bytesigned-128 ~ 1270 ~ 255
short2 bytessigned-32768 ~ 327670 ~ 65535
int2 bytessigned-32768 ~ 327670 ~ 65535
long4 bytessigned-2147483648 ~ 21474836470 ~ 4294967295
float4 bytessigned?1.175494351E-38 ~ 3.402823466E+38
pointer1~4 bytesgenericxx

1 意見

張貼留言