AnsweredAssumed Answered

Utilizing 64-bit variables with MC56F84XXX

Question asked by Brandon Kamphaus on May 8, 2014
Latest reply on Sep 12, 2014 by fukefeng

I want to use 64-bit variables to handle storing some values, but I am having issues.

I am able to declare the variable as a long long int without problems, but if I try to use that value, I find that only 32 bits are being used and any efforts to hard code 64-bit values return the error of number is out of range.


I read on another Freescale forum that long long variables are treated like 32-bit numbers by default, but I attempted to enable 64-bit variables through using the pragma slld with the _slld suffixed libraries and I have added *(ll_engine.text) to the code section of the linker, but it doesn't appear to change anything.


I think that I might be missing a step to configure enabling 64-bit support, but I don't see what can be causing it.  Any thoughts?


I am using:

-Target: MC56F84763

-CodeWarrior for Microcontrollers

Version: 10.5

Build Id: 130916