Int64 Support on HC12?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Int64 Support on HC12?

Jump to solution
1,271 Views
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!
Labels (1)
Tags (1)
0 Kudos
1 Solution
416 Views
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

View solution in original post

0 Kudos
1 Reply
417 Views
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 Kudos