Hello, fellows!
Collided with such a task: "Using ARM assembler initialize an array of 16 elements each of one is 24-bit signed integer". We're using STM32 for calculations therefore Thumb2 instructions are only available.
Maybe anybody has an idea of what how that can be implemented?
Trying to solve his homework ;-) But using STH might fails on the second element. But one can split and store the lower 16bit in one table and the higher 8 bit in another. A common trick used on 6502.
That's definetely interesting approach. Thank you :-)
I thought it was a vague enough "hint" for a "do my homework" question.Good point about the 2nd element!
The 6502-like trick is ... clever and gross. four stars!