From 19a2e09532d56379faa16b2a95bff6703a35774f Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 8 Aug 2017 01:42:38 +0300 Subject: [PATCH] detect and fix incorect format args --- OpArith.cpp | 6 +++--- OpMove.cpp | 4 ++-- app.h | 6 +++++- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/OpArith.cpp b/OpArith.cpp index 8d3e42e..ca277d9 100644 --- a/OpArith.cpp +++ b/OpArith.cpp @@ -508,15 +508,15 @@ int OpNbcd(int op) ot(" beq finish%.4x\n",op); ot("\n"); - ot(" mvn r3,r11,lsr #31 ;@ Undefined V behavior\n",op); + ot(" mvn r3,r11,lsr #31 ;@ Undefined V behavior\n"); ot(" and r2,r11,#0x0f000000\n"); ot(" cmp r2,#0x0a000000\n"); ot(" andeq r11,r11,#0xf0000000\n"); ot(" addeq r11,r11,#0x10000000\n"); - ot(" and r3,r3,r11,lsr #31 ;@ Undefined V behavior part II\n",op); + ot(" and r3,r3,r11,lsr #31 ;@ Undefined V behavior part II\n"); ot(" movs r1,r11,asr #24\n"); ot(" bicne r10,r10,#0x40000000 ;@ Z\n"); - ot(" orr r10,r10,r3,lsl #28 ;@ save V\n",op); + ot(" orr r10,r10,r3,lsl #28 ;@ save V\n"); ot(" orr r10,r10,#0x20000000 ;@ C\n"); ot("\n"); diff --git a/OpMove.cpp b/OpMove.cpp index 0d5f670..8022da1 100644 --- a/OpMove.cpp +++ b/OpMove.cpp @@ -434,14 +434,14 @@ int OpMovem(int op) if (dir) { - ot(" ;@ Copy memory to register:\n",1<