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
\r
if (dir)\r
{\r
- ot(" ;@ Copy memory to register:\n",1<<size);\r
+ ot(" ;@ Copy memory to register:\n");\r
earead_check_addrerr=0; // already checked\r
EaRead (6,0,ea,size,0x003f);\r
ot(" str r0,[r7,r4] ;@ Save value into Dn/An\n");\r
}\r
else\r
{\r
- ot(" ;@ Copy register to memory:\n",1<<size);\r
+ ot(" ;@ Copy register to memory:\n");\r
ot(" ldr r1,[r7,r4] ;@ Load value from Dn/An\n");\r
#if SPLIT_MOVEL_PD\r
if (decr && size==2) { // -(An)\r
extern int Cycles; // Current cycles for opcode\r
extern int pc_dirty; // something changed PC during processing\r
extern int arm_op_count; // for stats\r
-void ot(const char *format, ...);\r
+void ot(const char *format, ...)\r
+#ifdef __GNUC__\r
+ __attribute__((format(printf, 1, 2)));\r
+#endif\r
+ ;\r
void ltorg();\r
int MemHandler(int type,int size,int addrreg=0,int need_addrerr_check=1);\r
void FlushPC(int force=0);\r