Debian Codegraph @

texmf-dist/source/latex/avremu/test-suite/complex-memory.c

raw
1 #include <avr/io.h>
2
3 volatile char foo[30];
4
5 int main() {
6 foo[0] = 23;
7 foo[1] = 42;
8 foo[2] = foo[0] + foo[1];
9
10 asm volatile ("break");
11 }
12
13 /*
14 check-name: Complex Memory Operations
15 check-start:
16 \avr@instr@stepn{1000}
17
18 \avr@test@MEM{96}{00010111} % 23
19 \avr@test@MEM{97}{00101010} % 42
20 \avr@test@MEM{98}{01000001} % 65
21 check-end:
22 */