"word" is always a long

This commit is contained in:
ceriel 1987-04-02 10:26:42 +00:00
parent d2734bbdd9
commit c73f576314
2 changed files with 12 additions and 12 deletions

View file

@ -203,10 +203,10 @@ This is given as
.DS .DS
FORMAT = string FORMAT = string
.DE .DE
The default for string is "%d" or "%ld" depending on the wordsize of The default for string is "%ld".
the machine. For example on the PDP 11 one can use For example on the PDP 11 one can use
.DS .DS
FORMAT= "0%o" FORMAT= "0%lo"
.DE .DE
to satisfy the old UNIX assembler that reads octal unless followed by to satisfy the old UNIX assembler that reads octal unless followed by
a period, and the ACK assembler that follows C conventions. a period, and the ACK assembler that follows C conventions.
@ -980,7 +980,7 @@ and their range depends on the machine at hand.
The type 'int' is used for things like labelcounters that won't require The type 'int' is used for things like labelcounters that won't require
more than 16 bits precision. more than 16 bits precision.
The type 'word' is used among others to assemble datawords and The type 'word' is used among others to assemble datawords and
is of type 'long' if EM_WSIZE>2. is of type 'long'.
The type 'full' is used for addresses and is of type 'long' if The type 'full' is used for addresses and is of type 'long' if
EM_WSIZE>2 or EM_PSIZE>2. EM_WSIZE>2 or EM_PSIZE>2.
.PP .PP
@ -1125,9 +1125,9 @@ Example mach.h for the PDP-11
#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,"%d.\en",x) #define con_cst(x) fprintf(codefile,"%ld.\en",x)
#define con_ilb(x) fprintf(codefile,"%s\en",x) #define con_ilb(x) fprintf(codefile,"%s\en",x)
#define con_dlb(x) fprintf(codefile,"%s\en",x) #define con_dlb(x) fprintf(codefile,"%s\en",x)

View file

@ -362,10 +362,10 @@ This is given as
FORMAT = string FORMAT = string
.DE .DE
The string must be a valid printf(III) format, The string must be a valid printf(III) format,
and defaults to "%d" or "%ld" depending on the wordsize of and defaults to "%ld".
the machine. For example on the PDP-11 one can use For example on the PDP-11 one can use
.DS .DS
FORMAT= "0%o" FORMAT= "0%lo"
.DE .DE
to satisfy the old UNIX assembler that reads octal unless followed by to satisfy the old UNIX assembler that reads octal unless followed by
a period, and the ACK assembler that follows C conventions. a period, and the ACK assembler that follows C conventions.
@ -1956,7 +1956,7 @@ and TEM_PSIZE.
The type 'int' is used for things like counters that won't require The type 'int' is used for things like counters that won't require
more than 16 bits precision. more than 16 bits precision.
The type 'word' is used among others to assemble datawords and The type 'word' is used among others to assemble datawords and
is of type 'long' if TEM_WSIZE>2. is of type 'long'.
The type 'full' is used for addresses and is of type 'long' if The type 'full' is used for addresses and is of type 'long' if
TEM_WSIZE>2 or TEM_PSIZE>2. TEM_WSIZE>2 or TEM_PSIZE>2.
.PP .PP
@ -2101,9 +2101,9 @@ Example mach.h for the PDP-11
#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,"%d.\en",x) #define con_cst(x) fprintf(codefile,"%ld.\en",x)
#define con_ilb(x) fprintf(codefile,"%s\en",x) #define con_ilb(x) fprintf(codefile,"%s\en",x)
#define con_dlb(x) fprintf(codefile,"%s\en",x) #define con_dlb(x) fprintf(codefile,"%s\en",x)