We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am trying to write an ASM function to shrink an 8-bit greyscale image by 4, so I need to get the sum of 4 bytes very quickly.
MOV r0, #0LDR r1, [r2]!USADA8 r3, r0, r1
MOV r0, #0LDR r1, [r12]!LDR r2, [r12]!LDR r3, [r12]!LDR r4, [r12]!USADA8 r5, r0, r1USADA8 r6, r0, r2USADA8 r7, r0, r3USADA8 r8, r0, r4