Menu

#181 use of QS_U64 on 32 bit machine

QP-C-C++
closed
QS (1) QSPY (3)
1
2020-10-07
2020-09-30
No

Hi

QPC 6.8.0.
Is any reason why I cannot use QS_U64() on 32 bit machine?

for example:
QS_BEGIN(USER 0)
QS_U64(0, 123);
QS_END()

Discussion

  • Quantum Leaps

    Quantum Leaps - 2020-09-30

    You are right, there is no reason 64-bit QS output should not be available on 32-bit CPUs. So, QS_U64() data element will be available in all QP/C/C++ ports.

    Additionally, the next QP/C/C++ and QSPY will support hex-formatting of all data types. For example:

    QS_U8(QS_HEX_FMT,  0xABU);  --> 0xAB
    QS_U16(QS_HEX_FMT, 0xDEADU);  --> 0xDEAD
    QS_U32(QS_HEX_FMT, 0xDEADBEEFU); --> 0xDEADBEEF
    QS_U64(QS_HEX_FMT, 0xDEADBEEF12345678LL); --> 0xDEADBEEF12345678
    

    I hope you'll like it...

    --MMS

     
  • grzegorzkonopko

    grzegorzkonopko - 2020-10-01

    Yo mean: do I like americans 0xDEADBEEF? I do.
    I used to eat in Denny's when I travel through california. I do like steaks served there. good memories.

     
  • Quantum Leaps

    Quantum Leaps - 2020-10-07
    • status: accepted --> closed
     
  • Quantum Leaps

    Quantum Leaps - 2020-10-07

    Implemented in QP/C/C++ 6.9.1.
    --MMS

     

Anonymous
Anonymous

Add attachments
Cancel