WikiPendium

(beta)

Supexec()

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-3-137-142-158.us-east-2.compute.amazonaws.com

Supexec()


LONG Supexec( func )

LONG (*func)( VOID );

Supexec() executes a user-defined function in supervisor mode.

Opcode

38 (0x26)

Availability

All TOS versions.

Parameters

func is the address to a function which will be called in supervisor mode.

Binding

	pea	func
	move.w	#$26,-(sp)
	trap	#14
	addq.l	#6,sp


Return Value

Supexec() returns the LONG value returned by the user function.

Caveats

Care must be taken when calling the operating system in supervisor mode. The AES must not be called while in supervisor mode.

See Also

Super()

Il n'y a pas de commentaire sur cette page. [Afficher commentaires/formulaire]