Professional Documents
Culture Documents
Procedures IN ASSEMBLY LANGUAGE
Procedures IN ASSEMBLY LANGUAGE
Procedures IN ASSEMBLY LANGUAGE
Ret
SubOf ENDP
why do we need it?
CALL RET
1. User-defined functions
2. Built in functions
User-defined functions
Function Description
Name
MESSAGE Displays a message on the
screen.
MAXSTRLEN Returns the defined length of a
string variable
ARRAYLEN Returns the number of
elements in an array.
Local method and Global methods
main PROC
call Sum1
exit main
ENDP
Sum1 PROC
call Sum2
Ret
Sum1
ENDP
Sum2 PROC
Ret
Sub2 endp