Using the naken_util simulator's "write32" command, when trying to write 32-bit decimal numbers, it actually only writes 16-bit numbers to the 32-bit memory space.
STM8 Simulator Example: write32 0 -1 1234567890
reports writing 2 int32's starting at address 0, but a "print32 0" shows:
0x0000: 0000ffff 000002d2 . . .
This appears to be a problem with the "get_num( )" function. This problem occurs with both positive and negative decimal numbers. Hexadecimal numbers are OK
Using the naken_util simulator's "write32" command, when trying to write 32-bit decimal numbers, it actually only writes 16-bit numbers to the 32-bit memory space.
STM8 Simulator Example: write32 0 -1 1234567890 reports writing 2 int32's starting at address 0, but a "print32 0" shows: 0x0000: 0000ffff 000002d2 . . .
This appears to be a problem with the "get_num( )" function. This problem occurs with both positive and negative decimal numbers. Hexadecimal numbers are OK