This trap performs an external operation.
|Call Parameters||Return Parameters|
No errors are returned by this trap.
The example below shows the use of this trap call to obtain the value of PROGD$.
It is assumed that A6 points to the dataspace and that progd is the offset of the long word to hold the value of PROGD$.
info moveq #$25,d0 ; SMS_XTOP trap #1 ; Set registers and go to supervisor mode bsr get_progd ; "later" is put on the stack later ... ; Program continues in user mode get_progd: move.l sv_prog(a6),8+progd(a5) rts ; Registers are restored and return to "later".