From 67f3a6c9896a5651e00eb22ee6e036c536aa0587 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 22 Oct 2021 07:50:50 -0400 Subject: first draft; needs tests --- tests/test.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/test.c (limited to 'tests/test.c') diff --git a/tests/test.c b/tests/test.c new file mode 100644 index 0000000..8eb344a --- /dev/null +++ b/tests/test.c @@ -0,0 +1,8 @@ +int main() +{ + volatile int *mem = (int *)0x200; + *mem = 24; + for (int i = 0; i < 8; ++i) + *mem += 2; + return *mem; +} -- cgit v1.2.3