Int64 Support on HC12?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Int64 Support on HC12?

跳至解决方案
1,313 次查看
ProTools
Contributor I
I am using CW Pro for HC12 version 4.5. (9S12DP512 MCU) My project is in C and I have a need for 64-bit integer multiply and subtract operations.
 
The CW compiler options panel has a radio button for 64-bit integers, but it is grayed out.
 
How can I get 64-bit integer support for basic math (+, -, *, /) operations?
 
Thanks in advance!
标签 (1)
标记 (1)
0 项奖励
1 解答
458 次查看
Phoenix
Contributor III
Hello,
 
The description how the basic types of ANSI-C are implemented by the MC68HC(S)12 Backend can you find In c:\Program Files\Freescale\CW for HC12 V4.5\Help\pdf\Compiler_HC12.pdf on page 515.
There is no implementation of 64bit Integer types. 64bit format is implemented only for floating types.
 
Best regards
 
Phoenix

在原帖中查看解决方案

0 项奖励
1 回复
459 次查看
Phoenix
Contributor III
Hello,
 
The description how the basic types of ANSI-C are implemented by the MC68HC(S)12 Backend can you find In c:\Program Files\Freescale\CW for HC12 V4.5\Help\pdf\Compiler_HC12.pdf on page 515.
There is no implementation of 64bit Integer types. 64bit format is implemented only for floating types.
 
Best regards
 
Phoenix
0 项奖励