Skip to main content
This is lesson 5 of 6 in this module Course 89% complete

Example: Convert Image to Grayscale (part 2)

Premium Content

Sign in with your account or sign up to access this lesson.

The lesson introduces the pointer-increment loop as an alternative to array-index notation, explaining how it eliminates the multiply instruction that appears when indexing into pointers to types larger than a byte. We cover the STIND (store indirect) and LDIND (load indirect) IL instructions and explain why byte pointers and integer pointers have different performance profiles.