home *** CD-ROM | disk | FTP | other *** search
- /* hello.c - trivial program to demo "SMALLC-PC"
-
- to compile :
-
- A>cpc
- {input file : hello.c,
- output file : hello.asm,
- other options as desired; null "input" to end}
-
- A>masm hello; {I believe ASM would also work; no macros in
- generated code.}
-
- A>link hello,,,cpclib;
-
- A>hello
-
- */
-
- #define NL 13
-
- main()
- {
- puts("hello, world.");
- putchar(NL);
- }
-