Assembler







- .
. -
,
.
,
.
.
 

,
.
. .
.
, ,
.
 
, . , -
, ,
32- . 8088 ,
.
,
32- . .
 

.
.

32- . ,
, 32-
.
.
8088, 32-
.
 

,
. ,
.
.
,
.
, .
.
.
 
, - CALL
RETURN. CALL - . CALL
.
.
RETURN , -

, CALL. . 2.18
, .
 
,
A1. CALL
SOBROUTINE. CALL,
A2.
RET ( return - )
A2.
. CALL A3,
.
A4.
A4. ,
.
Microsoft (R) Macro Assembler Version 5.00 5/11/80 16:25:59
. 2.18 Page 1-1
 
 
PAGE ,132
TITLE . 2.18
0000 CODE SEGMENT
ASSUME CS:CODE
 
0000 E8 0008 R A1: CALL SUBROUTINE
 
0003 40 A2: INC AX
 
0004 E8 0008 R A3: CALL SUBROUTINE
 
0007 43 A4: INC BX
 
;----- . . .
 
0008 SUBROUTINE PROC NEAR
 
0008 B8 0000 MOV AX,0
000B BB 0000 MOV BX,0
000E C3 RET
 
000F SUBROUTINE ENDP
 
000F CODE ENDS
END
 
 
. 2.18 
 
 
A2, - A4.


.
 
?
, 8088
.