diff --git a/base/ttinterp.c b/base/ttinterp.c
index e0248e1..6dba3b6 100644
--- a/base/ttinterp.c
+++ b/base/ttinterp.c
@@ -1783,6 +1783,12 @@ static int nInstrCount=0;
       CUR.IP      += (Int)(args[0]);
       CUR.step_ins = FALSE;
 
+      /* If the instruction pointer moves back past the start of the description
+       * assume there is a fatal error, and move to the end of the description instead.
+       */
+      if(CUR.IP < 0)
+          CUR.IP = CUR.codeSize;
+
       /* See JMPR below */
       if(CUR.IP > CUR.codeSize ||
          (CUR.code[CUR.IP] != 0x2D && CUR.code[CUR.IP - 1] == 0x2D))
@@ -1805,6 +1811,12 @@ static int nInstrCount=0;
     CUR.IP      += (Int)(args[0]);
     CUR.step_ins = FALSE;
 
+    /* If the instruction pointer moves back past the start of the description
+     * assume there is a fatal error, and move to the end of the description instead.
+     */
+    if(CUR.IP < 0)
+        CUR.IP = CUR.codeSize;
+
     if(CUR.IP > CUR.codeSize ||
        (CUR.code[CUR.IP] != 0x2D && CUR.code[CUR.IP - 1] == 0x2D))
     /* The JPMR is meant to stop at the ENDF instruction to finish
@@ -1834,6 +1846,12 @@ static int nInstrCount=0;
       CUR.IP      += (Int)(args[0]);
       CUR.step_ins = FALSE;
 
+      /* If the instruction pointer moves back past the start of the description
+       * assume there is a fatal error, and move to the end of the description instead.
+       */
+      if(CUR.IP < 0)
+          CUR.IP = CUR.codeSize;
+
       /* See JMPR above */
       if(CUR.code[CUR.IP] != 0x2D && CUR.code[CUR.IP - 1] == 0x2D)
         CUR.IP -= 1;
