Programs translated using macroparser has internal error register.
Usually, the error register resides at 0x00 RAM position.
When machine fails (but not critically), it calls HLT and set
error register to one of values described below:
0x00 - success (no error). Machine program completed succesfully
0x01 - error in return table. Position where execution should go
after returning from function doesn't exist.
Wyszukiwarka