lab/x1/c/main.c
Takumi Sueda 63e65a252a Revert "Update x1/c impl"
This reverts commit 866afba9c2.
2021-11-07 22:01:09 +09:00

15 lines
299 B
C

void main() {
char *str = "Hello World";
int aa = 1234;
int i;
for (i=0; i<999; i++) {
asm volatile(
"mrc p15, 0, r10, c1, c0, 0\n"
"bic r10, #1\n"
"mcr p15, 0, r10, c1, c0, 0\n"
: "=r" (aa)
);
aa += 1;
}
}