Assembler


- 2


000A B7 07 MOV BH, 7
000C B8 0601 MOV AX, 601h
000F 75 0C JNZ WINDOW1 ;
0011 B9 0200 MOV CX, 200h ; 1
0014 BA 1010 MOV DX, 1010h
0017 DO_SCROLL:
0017 CD 10 INT 10h
0019 5D POP BP
001A CA 0002 RET 2
001D WINDOW1:
001D B9 0514 MOV CX, 514h ; 2
0020 BA 1224 MOV DX, 1224h
0023 EB F2 JMP DO_SCROLL
0025 SCROLL ENDP
0025 CODE ENDS
END
 
. 10.8
 
. 10.8,
, ,
. ,
,
CALL. .10.9()
SCROLL. CALL
(FAR CALL)
.
DS. SCROLL
SI ,
CX. .10.9(b)
, SCROLL
BP , SP
BP. ,