Int64 Support on HC12?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Int64 Support on HC12?

ソリューションへジャンプ
1,829件の閲覧回数
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 解決策
974件の閲覧回数
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 返信
975件の閲覧回数
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 件の賞賛
返信