Hi,

I am trying to play long videos on a uOLED-128-G2. I have encoded frames as images aligned with SD card sectors.

I have 2 variables that I now want to use to perform a 32 bit multiplication, but can't fathom the behaviour of VM_OVERFLOW.

I have figured out with print statements, that the sign of the operands will determine whether or not the resulting number in VM_OVERFLOW is 2's complement, but not how.

What is the behaviour of VM_OVERFLOW when holding the result of a multiplication, and what is the correct way to convert this into unsigned representation?

Sj

I am trying to play long videos on a uOLED-128-G2. I have encoded frames as images aligned with SD card sectors.

I have 2 variables that I now want to use to perform a 32 bit multiplication, but can't fathom the behaviour of VM_OVERFLOW.

I have figured out with print statements, that the sign of the operands will determine whether or not the resulting number in VM_OVERFLOW is 2's complement, but not how.

What is the behaviour of VM_OVERFLOW when holding the result of a multiplication, and what is the correct way to convert this into unsigned representation?

Sj

## Comment