The NOREGPARMS directive forces the compiler to pass all function arguments in fixed memory locations. This directive generates parameter passing code which is compatible with Version 1 and Version 2 of the Keil C51 Compiler.
Note
You may specify both the REGPARMS and NOREGPARMS directive several times within a source file to compile some functions using register parameters and other functions using the old style of parameter passing. For example: