Example: Convert Image to Grayscale (part 1)
We demonstrate a grayscale conversion algorithm applied to a 4000x4000-pixel bitmap, and then examine the intermediate language produced by using one-dimensional arrays (STELEM instructions) versus using a pointer-with-array-index approach (STIND instructions).