diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2021-10-22 07:50:50 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2021-10-22 07:50:50 -0400 |
commit | 67f3a6c9896a5651e00eb22ee6e036c536aa0587 (patch) | |
tree | 76d66c0442ad64b51ea606647ce98380d494bfba /tests/test.c | |
parent | 6a62488e1599ddfb3981dcf22e01024d5619af0f (diff) |
first draft; needs tests
Diffstat (limited to 'tests/test.c')
-rw-r--r-- | tests/test.c | 8 |
1 files changed, 8 insertions, 0 deletions
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; +} |