@@ -222,7 +222,8 @@ static OPCODE opcodelist[] = {
222
222
223
223
void print_opcode (FILE * ftxt ,cell opcode ,cell cip )
224
224
{
225
- fprintf (ftxt ,"%08" PRIxC " %s " ,cip ,opcodelist [(int )(opcode & 0x0000ffff )].name );
225
+ fprintf (ftxt ,"%08" PRIxC " %s" ,
226
+ cip ,opcodelist [(int )(opcode & 0x0000ffff )].name );
226
227
}
227
228
228
229
void print_funcname (FILE * ftxt ,cell address )
@@ -264,37 +265,37 @@ cell parm0(FILE *ftxt,const cell *params,cell opcode,cell cip)
264
265
cell parm1 (FILE * ftxt ,const cell * params ,cell opcode ,cell cip )
265
266
{
266
267
print_opcode (ftxt ,opcode ,cip );
267
- fprintf (ftxt ,"%08" PRIxC "\n" ,* params );
268
+ fprintf (ftxt ," %08" PRIxC "\n" ,* params );
268
269
return 2 ;
269
270
}
270
271
271
272
cell parm2 (FILE * ftxt ,const cell * params ,cell opcode ,cell cip )
272
273
{
273
274
print_opcode (ftxt ,opcode ,cip );
274
- fprintf (ftxt ,"%08" PRIxC " %08" PRIxC "\n" ,params [0 ],params [1 ]);
275
+ fprintf (ftxt ," %08" PRIxC " %08" PRIxC "\n" ,params [0 ],params [1 ]);
275
276
return 3 ;
276
277
}
277
278
278
279
cell parm3 (FILE * ftxt ,const cell * params ,cell opcode ,cell cip )
279
280
{
280
281
print_opcode (ftxt ,opcode ,cip );
281
- fprintf (ftxt ,"%08" PRIxC " %08" PRIxC " %08" PRIxC "\n" ,
282
+ fprintf (ftxt ," %08" PRIxC " %08" PRIxC " %08" PRIxC "\n" ,
282
283
params [0 ],params [1 ],params [2 ]);
283
284
return 4 ;
284
285
}
285
286
286
287
cell parm4 (FILE * ftxt ,const cell * params ,cell opcode ,cell cip )
287
288
{
288
289
print_opcode (ftxt ,opcode ,cip );
289
- fprintf (ftxt ,"%08" PRIxC " %08" PRIxC " %08" PRIxC " %08" PRIxC "\n" ,
290
+ fprintf (ftxt ," %08" PRIxC " %08" PRIxC " %08" PRIxC " %08" PRIxC "\n" ,
290
291
params [0 ],params [1 ],params [2 ],params [3 ]);
291
292
return 5 ;
292
293
}
293
294
294
295
cell parm5 (FILE * ftxt ,const cell * params ,cell opcode ,cell cip )
295
296
{
296
297
print_opcode (ftxt ,opcode ,cip );
297
- fprintf (ftxt ,"%08" PRIxC " %08" PRIxC " %08" PRIxC " %08" PRIxC " %08" PRIxC "\n" ,
298
+ fprintf (ftxt ," %08" PRIxC " %08" PRIxC " %08" PRIxC " %08" PRIxC " %08" PRIxC "\n" ,
298
299
params [0 ],params [1 ],params [2 ],params [3 ],params [4 ]);
299
300
return 6 ;
300
301
}
@@ -310,7 +311,7 @@ cell do_proc(FILE *ftxt,const cell *params,cell opcode,cell cip)
310
311
cell do_call (FILE * ftxt ,const cell * params ,cell opcode ,cell cip )
311
312
{
312
313
print_opcode (ftxt ,opcode ,cip );
313
- fprintf (ftxt ,"%08" PRIxC ,* params );
314
+ fprintf (ftxt ," %08" PRIxC ,* params );
314
315
print_funcname (ftxt ,* params );
315
316
fputs ("\n" ,ftxt );
316
317
return 2 ;
@@ -319,7 +320,7 @@ cell do_call(FILE *ftxt,const cell *params,cell opcode,cell cip)
319
320
cell do_jump (FILE * ftxt ,const cell * params ,cell opcode ,cell cip )
320
321
{
321
322
print_opcode (ftxt ,opcode ,cip );
322
- fprintf (ftxt ,"%08" PRIxC "\n" ,* params );
323
+ fprintf (ftxt ," %08" PRIxC "\n" ,* params );
323
324
return 2 ;
324
325
}
325
326
@@ -346,7 +347,7 @@ cell do_sysreq(FILE *ftxt,const cell *params,cell opcode,cell cip)
346
347
} /* if */
347
348
348
349
print_opcode (ftxt ,opcode ,cip );
349
- fprintf (ftxt ,"%08" PRIxC ,* params );
350
+ fprintf (ftxt ," %08" PRIxC ,* params );
350
351
if (namelen > 0 )
351
352
fprintf (ftxt ,"\t; %s" ,name );
352
353
fprintf (ftxt ,"\n" );
@@ -356,7 +357,7 @@ cell do_sysreq(FILE *ftxt,const cell *params,cell opcode,cell cip)
356
357
cell do_switch (FILE * ftxt ,const cell * params ,cell opcode ,cell cip )
357
358
{
358
359
print_opcode (ftxt ,opcode ,cip );
359
- fprintf (ftxt ,"%08" PRIxC "\n" ,* params );
360
+ fprintf (ftxt ," %08" PRIxC "\n" ,* params );
360
361
return 2 ;
361
362
}
362
363
@@ -367,7 +368,7 @@ cell casetbl(FILE *ftxt,const cell *params,cell opcode,cell cip)
367
368
368
369
print_opcode (ftxt ,opcode ,cip );
369
370
num = params [0 ]+ 1 ;
370
- fprintf (ftxt ,"%08" PRIxC " %08" PRIxC "\n" ,params [0 ],params [1 ]);
371
+ fprintf (ftxt ," %08" PRIxC " %08" PRIxC "\n" ,params [0 ],params [1 ]);
371
372
for (idx = 1 ; idx < num ; idx ++ )
372
373
fprintf (ftxt ," %08" PRIxC " %08" PRIxC "\n" ,
373
374
params [2 * idx ],params [2 * idx + 1 ]);
0 commit comments