aboutsummaryrefslogtreecommitdiffstats
path: root/src/uxn-core.s
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2023-08-30 19:07:54 +0200
committerBad Diode <bd@badd10de.dev>2023-08-30 19:07:54 +0200
commit38d669a6648a07fd16cde897ae70b276c35dc327 (patch)
tree698b1c501ffe68e293a810ddf6200f980e2a82c8 /src/uxn-core.s
parentf04783a0e084bf6f16a2c6c18f530d76ffb82eca (diff)
downloaduxngba-38d669a6648a07fd16cde897ae70b276c35dc327.tar.gz
uxngba-38d669a6648a07fd16cde897ae70b276c35dc327.zip
Ensure we are not executing zero vectors
Diffstat (limited to 'src/uxn-core.s')
-rw-r--r--src/uxn-core.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uxn-core.s b/src/uxn-core.s
index 362f0d4..7d73b18 100644
--- a/src/uxn-core.s
+++ b/src/uxn-core.s
@@ -27,6 +27,10 @@ rst_ptr: .word rst
27@ 27@
28.global uxn_eval_asm 28.global uxn_eval_asm
29uxn_eval_asm: 29uxn_eval_asm:
30 @ Ensure PC is not null.
31 cmp r0, #0
32 bxeq lr
33
30 @ Initialization. 34 @ Initialization.
31 push {r4-r7} 35 push {r4-r7}
32 ldr r1, wst_ptr 36 ldr r1, wst_ptr