default size is now large

This commit is contained in:
ceriel 1989-11-17 16:53:53 +00:00
parent a46596cbba
commit 99c20a6a08
3 changed files with 12 additions and 12 deletions

View file

@ -20,7 +20,7 @@ main(argc, argv)
char **argv; char **argv;
{ {
/* /*
* Usage: ass [-[d][p][m][u]] [-s(s/m/l)] [ [file] [flag] ] ... * Usage: ass [-[d][p][m][u]] [-s(s/m/l/x)] [ [file] [flag] ] ...
* The d flag can be repeated several times, resulting in more * The d flag can be repeated several times, resulting in more
* debugging information. * debugging information.
*/ */
@ -76,7 +76,7 @@ getcore() {
getsizes(str) char *str; { getsizes(str) char *str; {
/* /*
* accepts -ss (small), -sm (medium), -sl (large), -sg (giant) * accepts -ss (small), -sm (medium), -sl (large), -sx (extra large)
*/ */
switch(LC(*str)) { switch(LC(*str)) {
@ -84,7 +84,7 @@ getsizes(str) char *str; {
case 's': oursize = &sizes[0]; break; case 's': oursize = &sizes[0]; break;
case 'm': oursize = &sizes[1]; break; case 'm': oursize = &sizes[1]; break;
case 'l': oursize = &sizes[2]; break; case 'l': oursize = &sizes[2]; break;
case 'g': oursize = &sizes[3]; break; case 'x': oursize = &sizes[3]; break;
} }
} }

View file

@ -129,9 +129,9 @@ char *eout = "e.out";
arch_t archhdr; arch_t archhdr;
siz_t sizes[NDEFAULT] = { siz_t sizes[NDEFAULT] = {
/* mlab, glab,mproc,xproc, proc */ /* mlab, glab,mproc,xproc, proc */
{ 151, 29, 31, 73, 130 }, { 151, 29, 31, 73, 130 }, /* small */
{ 307, 127, 151, 401, 460 }, { 307, 127, 151, 401, 460 }, /* medium */
{ 601, 251, 151, 401, 600 }, { 601, 251, 151, 401, 600 }, /* large */
{1601, 1601, 1601, 1601, 2000 } {1601, 1601, 1601, 1601, 2000 } /* extra large */
}; };
siz_t *oursize = &sizes[1] ; /* point to selected sizes */ siz_t *oursize = &sizes[2] ; /* point to selected sizes */

View file

@ -9,9 +9,9 @@ em_ass \- EM assembler/loader
Em_ass assembles and links EM modules. Em_ass assembles and links EM modules.
Arguments may be flags, EM modules or libraries. Arguments may be flags, EM modules or libraries.
Flags recognized are: Flags recognized are:
.IP "-ss, -sm, -sl" .IP "-ss, -sm, -sl, -sx"
Indicate that your program is small, medium or large. Indicate that your program is small, medium, large, or extra large.
Medium is the default. Large is the default.
.IP -p .IP -p
List all procedure names together with base-address (decimal and octal), List all procedure names together with base-address (decimal and octal),
procedure number and module of definition. procedure number and module of definition.
@ -59,7 +59,7 @@ Various diagnostics may be produced. In the case of compiler
produced code the only messages to expect are "Out of memory" produced code the only messages to expect are "Out of memory"
or of the or of the
form: Overflow in XXXX. The latter can usually be cured by giving form: Overflow in XXXX. The latter can usually be cured by giving
a -sl flag, a -sx flag,
the former means your program is too big, dimishing the former means your program is too big, dimishing
the size of very large procedures can sometimes help. the size of very large procedures can sometimes help.
The most likely errors, however, are unresolved references, The most likely errors, however, are unresolved references,