"word" is always a long

This commit is contained in:
ceriel 1987-04-02 10:17:06 +00:00
parent 5889533297
commit d2734bbdd9
3 changed files with 6 additions and 6 deletions

View file

@ -20,9 +20,9 @@
#define loc_off "%d(a6)" #define loc_off "%d(a6)"
#define arg_off "8+%d(a6)" #define arg_off "8+%d(a6)"
#define hol_off "%d+hol%d" #define hol_off "%ld+hol%d"
#define con_cst(x) fprintf(codefile,".data2\t%d\n",x) #define con_cst(x) fprintf(codefile,".data2\t%ld\n",x)
#define con_ilb(x) fprintf(codefile,".data4\t%s\n",x) #define con_ilb(x) fprintf(codefile,".data4\t%s\n",x)
#define con_dlb(x) fprintf(codefile,".data4\t%s\n",x) #define con_dlb(x) fprintf(codefile,".data4\t%s\n",x)

View file

@ -22,9 +22,9 @@
#define loc_off "%d(bp)" #define loc_off "%d(bp)"
#define arg_off "4+%d(bp)" #define arg_off "4+%d(bp)"
#define hol_off "%d+hol%d" #define hol_off "%ld+hol%d"
#define con_cst(x) fprintf(codefile,".data2\t%d\n",x) #define con_cst(x) fprintf(codefile,".data2\t%ld\n",x)
#define con_ilb(x) fprintf(codefile,".data2\t%s\n",x) #define con_ilb(x) fprintf(codefile,".data2\t%s\n",x)
#define con_dlb(x) fprintf(codefile,".data2\t%s\n",x) #define con_dlb(x) fprintf(codefile,".data2\t%s\n",x)

View file

@ -17,9 +17,9 @@
#define dlb_fmt "_%d" #define dlb_fmt "_%d"
#define hol_fmt "hol%d" #define hol_fmt "hol%d"
#define hol_off "%d+hol%d" #define hol_off "%ld+hol%d"
#define con_cst(x) fprintf(codefile,"\t.data2 %d\n",x) #define con_cst(x) fprintf(codefile,"\t.data2 %ld\n",x)
#define con_ilb(x) fprintf(codefile,"\t.data2 %s\n",x) #define con_ilb(x) fprintf(codefile,"\t.data2 %s\n",x)
#define con_dlb(x) fprintf(codefile,"\t.data2 %s\n",x) #define con_dlb(x) fprintf(codefile,"\t.data2 %s\n",x)