replaced some %D's by %ld
This commit is contained in:
parent
1e0aef10d8
commit
4793d80775
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ pass_5() {
|
||||||
#ifdef JOHAN
|
#ifdef JOHAN
|
||||||
if ( jflag ) {
|
if ( jflag ) {
|
||||||
extern char em_mnem[][4] ;
|
extern char em_mnem[][4] ;
|
||||||
printf("%s %D\n",em_mnem[ope],off1) ;
|
printf("%s %ld\n",em_mnem[ope],off1) ;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ dump(n)
|
||||||
if (d_flag==0) return;
|
if (d_flag==0) return;
|
||||||
if ( (n==0 && d_flag) || (n==4 && d_flag>=2) || (n<100 && d_flag>=3) ) {
|
if ( (n==0 && d_flag) || (n==4 && d_flag>=2) || (n<100 && d_flag>=3) ) {
|
||||||
printf("\nEM1-assembler ***** pass %1d complete:\n",n);
|
printf("\nEM1-assembler ***** pass %1d complete:\n",n);
|
||||||
printf("current size %D\n",prog_size) ;
|
printf("current size %ld\n",prog_size) ;
|
||||||
printf(" %9.9s%9.9s%14.14s%8.8s%8.8s\n", "instr_nr",
|
printf(" %9.9s%9.9s%14.14s%8.8s%8.8s\n", "instr_nr",
|
||||||
"type1","addr1","length","format");
|
"type1","addr1","length","format");
|
||||||
for (ln = pstate.s_fline ; ln ;
|
for (ln = pstate.s_fline ; ln ;
|
||||||
|
|
Loading…
Reference in a new issue