shithub: mc

Download patch

ref: b6c0b67ea6692977eff0cd08d2a4d9b6a66297aa
parent: dc3c9cb8a2056f3362607727c8e4140cc242e239
author: Ori Bernstein <[email protected]>
date: Sun Dec 21 20:08:51 EST 2014

Plan9 spells some of the jumps differently.

--- a/6/insns.def
+++ b/6/insns.def
@@ -293,17 +293,17 @@
     Def(None))
 Insn(Ijz,       
     "\tjz %v\n",                    
-    "\tJZ %V\n",
+    "\tJEQ %V\n",
     Use(.l={1}),
     Def(None))
 Insn(Ijnz,      
     "\tjnz %v\n",                   
-    "\tJNZ %V\n",
+    "\tJNE %V\n",
     Use(.l={1}),
     Def(None))
 Insn(Ijl,       
     "\tjl %v\n",                    
-    "\tJL %V\n",
+    "\tJLT %V\n",
     Use(.l={1}),
     Def(None))
 Insn(Ijle,      
@@ -323,12 +323,12 @@
     Def(None))
 Insn(Ijb,       
     "\tjb %v\n",                    
-    "\tJB %V\n",
+    "\tJCS %V\n",
     Use(.l={1}),
     Def(None))
 Insn(Ijbe,      
     "\tjbe %v\n",                   
-    "\tJBE %V\n",
+    "\tJLS %V\n",
     Use(.l={1}),
     Def(None))
 Insn(Ija,