title: Problem using 64 bit data in 32 bit processor (ARM Cortex A9)
body: <p>First of all, context: I'm implementing a program in ARM Cortex A9 processor. I had an issue related to the C code itself which was solved here: <a href="https://stackoverflow.com/questions/56616473/how-to-set-the-values-of-an-array-to-a-single-variable">How to set the values of an array to a single variable</a></p>
  
  <p>First I wrote the code in my computer (OS Linux 64 bits) and the accepted answer in the above link works. However, when I did the same in the ARM A9 it didn't. I did a simple test on ARM:</p>
  
  <pre><code>uint64_t test = 0x1B26B354A1CF;
  printf("%lx", test);
  </code></pre>
  
  <p>it prints: </p>
  
  <blockquote>
    <p>d</p>
  </blockquote>
  
  <p>The same in my computer:</p>
  
  <pre><code> uint64_t test = 0x1B26B354A1CF;
   printf("%lx \n", test);
  </code></pre>
  
  <p>prints: </p>
  
  <blockquote>
    <p>1b26b354a1cf</p>
  </blockquote>
  
  <p>So it seems like an overflow problem or a problem handling that "big" data. How can I find a workaround or an alternative solution to this?</p>
  
  <p>Target: ARTY Z7 FPGA (in this problem you can ignore the "FPGA" part. I'm just workint with the processor this board has: ARM A9 CORTEX)</p>