Assembler Directives and Pseudo-Operations

.PROC and .PROCEND Directives

Example

This template shows a procedure that follows the procedure-calling convention.

.CODE

test

.PROC

.CALLINFO

.ENTER

COMCLR,= %arg0,%arg1,%ret0

LDI 1,%ret0

.LEAVE

.PROCEND

.EXPORT test

Chapter 4

103