Keil Logo

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
  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.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.