Skip to Content
Amiga Assembly Library v41.21 — Motorola 68020 shared library for Commodore Amiga

FreeAsmRequest

Synopsis

FreeAsmRequest(areq) A0

C Prototype

void FreeAsmRequest(struct AsmRequest *);

Description

Frees all resources allocated by AllocAsmRequestA().

Inputs

  • areq — Address of an AsmRequest structure.

Result

None.

See Also

AllocAsmRequestA

Implementation

The original 68020 assembly implementation:

; (18-Jan-1995) --- FreeAsmRequest(areq) (A0) _LVOFreeAsmRequest movem.l a2-a6,-(sp) move.l a6,a5 * Save AssemblyBase move.l a0,a4 * Save AsmRequest move.l ab_ExecBase(a5),a6 * Get Exec move.l areq_SysRP(a4),a1 * System RastPort move.l -(a1),d0 * Pack Alloc jsr _LVOFreeMem(a6) move.l a4,a1 * AsmRequest... move.l -(a1),d0 * Pack Alloc jsr _LVOFreeMem(a6) * Free the memory from the AsmRequest structure movem.l (sp)+,a2-a6 rts
Last updated on