This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SM is the abbreviation of two different compile directives

Hello all,

I'm experimenting with SMALL and SAVEMAC compile directives and found something in the manual a bit confusing.

According to http://www.keil.com/support/man/docs/c166/c166_small.htm, SM is the abbreviation of SMALL.

According to http://www.keil.com/support/man/docs/c166/c166_savemac.htm, SM is the abbreviation of SAVEMAC.

How could SM be the abbreviation of two completely different directives?

I performed the following experiment:

$ cat test.c
__MODEL__
__SAVEMAC__

$ c166 test.c SMALL PREPRINT
$ cat test.I
1
0

$ c166 test.c SM PREPRINT
$ cat test.I
1
0

$ c166 test.c SAVEMAC PREPRINT
$ cat test.I
1
1

It appears SM is not an abbreviation of SAVEMAC.

Is this a mistake in C166 compiler manual, or am I missing anything? Thanks in advance.