python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Prevent consecutive read operations from memory in C from being optimized away
My goal is to iterate memory on a microcontroller in C, and do two consecutive read operations on each cell, testing if both are zero. I try to do this as follows:
volatile uint8_t* memory = MEMORY_ST...
Cramstyler
Votes: 0
Answers: 0