Keil Logo Arm Logo

A251 User's Guide

ENDP Assembler Statement

Arguments
name ENDP
Description

The ENDP statement marks the end of a procedure definition using the PROC statement. The name must match the name used in the PROC statement.

Example
P101 PROC NEAR
        CALL    P102 ; far call for P102
        RET          ; near return
P101 ENDP

P102 PROC FAR
        CALL    P101 ; near call for P101
        RET          ; far return
P102 ENDP

        END

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.