summaryrefslogtreecommitdiff
path: root/tb/sim/syscall.py
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-12-15 00:41:05 -0600
committerAlejandro Soto <alejandro@34project.org>2022-12-16 16:29:10 -0600
commit7bf965b755b667f7da05e0995c2f09c54a8a2f11 (patch)
tree6695c6f9aecd84bdc542261d4bc32d73ef050ea8 /tb/sim/syscall.py
parentae7fd6a060c9bb1ce9db83f8eb23fa19e8fa0e7a (diff)
Implement swi (system call)
Diffstat (limited to 'tb/sim/syscall.py')
-rw-r--r--tb/sim/syscall.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tb/sim/syscall.py b/tb/sim/syscall.py
new file mode 100644
index 0000000..cfb9859
--- /dev/null
+++ b/tb/sim/syscall.py
@@ -0,0 +1,2 @@
+def final():
+ assert_reg(r0, 124)