Differences
This shows you the differences between two versions of the page.
— |
qdosmsq:vectors:werms [2010/10/26 15:04] (current) george.gwilt created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== UT_ERR/ | ||
+ | This vector prints an error message to a channel. | ||
+ | |||
+ | ^Call Parameters^^Return Parameters^^ | ||
+ | |D0.L|Error code|D0.L|Preserved.| | ||
+ | |A0.L|Channel ID|A0.L|Preserved.| | ||
+ | |||
+ | |||
+ | ===== Errors ===== | ||
+ | No errors are returned by this vector call. | ||
+ | |||
+ | |||
+ | ===== Notes ===== | ||
+ | * All registers not shown above are not used on entry and are preserved on exit. | ||
+ | * This must not be called in supervisor mode unless A0 is zero. | ||
+ | * If D0.L is positive no action is taken. | ||
+ | |||
+ | ===== Example ===== | ||
+ | The example below shows the use of this trap call to print the error code in D0.L to the channel whose ID is in A0.L. | ||
+ | < | ||
+ | movea.w UT_ERR, | ||
+ | | ||
+ | </ | ||
+ | |||