Checking the message compiler return codes

The message compiler generates a return code in register 15. The return codes are as follows:

Code Meaning
0 Successful completion.
4 Processing complete. Run-time message files are complete but the compiler generated warnings.
8 Processing complete. The run-time message files are usable but incomplete.
12 Processing ended prematurely. The run-time message files are unusable.

You should correct all errors and recompile if you receive any return code other than 0.