diff --git a/libguile/vm-engine.c b/libguile/vm-engine.c
index 156b373..ffa32d2 100644
--- a/libguile/vm-engine.c
+++ b/libguile/vm-engine.c
@@ -990,6 +990,18 @@ RTL_VM_NAME (SCM vm, SCM program, SCM *argv, size_t nargs_)
    * after the end of the `call' instruction.  The word following that
    * is the RA.
    */
+
+#define CHECK_NATIVE(ip)                                \
+  if(*((scm_t_bits *) ip) == 0)                         \
+    {                                                   \
+      ip += 2;                                          \
+    }                                                   \
+  else                                                  \
+    {                                                   \
+      /* native code not implemented */                 \
+      abort();                                          \
+    }
+
   VM_DEFINE_OP (2, call, "call", OP3 (U8_U24, X8_U24, X8_R24))
     {
       scm_t_uint32 from, proc, n;
@@ -1018,6 +1030,10 @@ RTL_VM_NAME (SCM vm, SCM program, SCM *argv, size_t nargs_)
         goto apply;
 
       ip = SCM_RTL_PROGRAM_CODE (SCM_FRAME_PROGRAM (fp));
+
+      /* Check to se if native code is hooked in */
+      CHECK_NATIVE(ip)
+
       NEXT (0);
     }
 
@@ -1055,6 +1071,10 @@ RTL_VM_NAME (SCM vm, SCM program, SCM *argv, size_t nargs_)
         goto apply;
 
       ip = SCM_RTL_PROGRAM_CODE (SCM_FRAME_PROGRAM (fp));
+
+      /* Check to se if native code is hooked in */
+      CHECK_NATIVE(ip)
+
       NEXT (0);
     }
 
@@ -1083,6 +1103,10 @@ RTL_VM_NAME (SCM vm, SCM program, SCM *argv, size_t nargs_)
         goto apply;
 
       ip = SCM_RTL_PROGRAM_CODE (SCM_FRAME_PROGRAM (fp));
+
+      /* Check to se if native code is hooked in */
+      CHECK_NATIVE(ip)
+      
       NEXT (0);
     }
 
@@ -1318,6 +1342,10 @@ RTL_VM_NAME (SCM vm, SCM program, SCM *argv, size_t nargs_)
         goto apply;
 
       ip = SCM_RTL_PROGRAM_CODE (SCM_FRAME_PROGRAM (fp));
+
+      /* Check to se if native code is hooked in */
+      CHECK_NATIVE(ip)
+
       NEXT (0);
     }
 
diff --git a/module/system/vm/rtl.scm b/module/system/vm/rtl.scm
index 3832968..3c5b85e 100644
--- a/module/system/vm/rtl.scm
+++ b/module/system/vm/rtl.scm
@@ -74,7 +74,7 @@
 ;; We write constants using the target endianness, though.
 ;;
 (define-record-type <asm>
-  (make-asm cur idx start prev written
+  (make-asm- cur idx start prev written
             labels relocs
             word-size endianness
             constants inits
@@ -96,6 +96,13 @@
   (string-table asm-string-table set-asm-string-table!)
   (meta asm-meta set-asm-meta!))
 
+(define (make-asm . l)
+  (let ((asm (apply make-asm- l)))
+    (set-asm-idx! asm 2)
+    (u32-set! (asm-cur asm) 0 0)
+    (u32-set! (asm-cur asm) 0 1)
+    asm))
+
 (define-inlinable (fresh-block)
   (make-u32vector *block-size*))
 
