aboutsummaryrefslogtreecommitdiff
path: root/prog/src/main.c
diff options
context:
space:
mode:
authorFlavian Kaufmann <flavian@flaviankaufmann.ch>2024-05-15 09:27:51 +0200
committerFlavian Kaufmann <flavian@flaviankaufmann.ch>2024-05-15 09:27:51 +0200
commitdef3f62f7f8d6b5bd4b15500c7d11935540e81da (patch)
treeb4fb8037a58ae498ba6f9c92ab246b0fba7eded7 /prog/src/main.c
parent9e76b9001c37ab2da2e99c922406b991bd0e53af (diff)
downloadriscv_cpu-def3f62f7f8d6b5bd4b15500c7d11935540e81da.tar.gz
riscv_cpu-def3f62f7f8d6b5bd4b15500c7d11935540e81da.zip
fixed relative memory addressing bug
Diffstat (limited to 'prog/src/main.c')
-rw-r--r--prog/src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/prog/src/main.c b/prog/src/main.c
index 1ce067c..8bcdfe2 100644
--- a/prog/src/main.c
+++ b/prog/src/main.c
@@ -1,6 +1,8 @@
+extern void test_prog(void);
int main(void) {
+ test_prog();
while (1) {
}
}