Open main menu

CDOT Wiki β

Changes

Syscalls

41 bytes added, 00:00, 26 January 2014
no edit summary
== Using the syscall macro definitions in asm code ==
The syscall macros can be used in a C an assembly program if that program is processed by the C preprocessor (cpp). The extension <code>,.S</code> (uppercase instead of lowercase) is used to designate an assembler source file that must be processed by cpp.
There are two ways to do this for a pure assembler source file: