detect and fix incorect format args
[cyclone68000.git] / OpArith.cpp
index 8d3e42e..ca277d9 100644 (file)
@@ -508,15 +508,15 @@ int OpNbcd(int op)
   ot("  beq finish%.4x\n",op);\r
   ot("\n");\r
 \r
-  ot("  mvn r3,r11,lsr #31 ;@ Undefined V behavior\n",op);\r
+  ot("  mvn r3,r11,lsr #31 ;@ Undefined V behavior\n");\r
   ot("  and r2,r11,#0x0f000000\n");\r
   ot("  cmp r2,#0x0a000000\n");\r
   ot("  andeq r11,r11,#0xf0000000\n");\r
   ot("  addeq r11,r11,#0x10000000\n");\r
-  ot("  and r3,r3,r11,lsr #31 ;@ Undefined V behavior part II\n",op);\r
+  ot("  and r3,r3,r11,lsr #31 ;@ Undefined V behavior part II\n");\r
   ot("  movs r1,r11,asr #24\n");\r
   ot("  bicne r10,r10,#0x40000000 ;@ Z\n");\r
-  ot("  orr r10,r10,r3,lsl #28 ;@ save V\n",op);\r
+  ot("  orr r10,r10,r3,lsl #28 ;@ save V\n");\r
   ot("  orr r10,r10,#0x20000000 ;@ C\n");\r
   ot("\n");\r
 \r