Assembler


         

(FCB) - 9


0275 CD 21 INT 21H
 
. 5.6 DOS ()
0277 0A C0 OR AL, AL ;
0279 74 07 JE RANDOM_RECORD_OK
027B 8D 16 0153 R LEA DX, BAD_READ_MSG ;
 
027F E9 01E5 R JMP ERROR_EXIT
 
;-----
 
0282 RANDOM_RECORD_OK:
0282 C6 06 00B0 R 0A MOV DISK_TRANSFER_ADDRESS+32, 10 ;
0287 C6 06 00B1 R 0D MOV DISK_TRANSFER_ADDRESS+33, 13 ;
028C C6 06 00B2 R 24 MOV DISK_TRANSFER_ADDRESS+34, '$' ;
0291 B4 09 MOV AH, 9H
0293 8D 16 0090 R LEA DX, DISK_TRANSFER_ADDRESS
0297 CD 21 INT 21H ;
 
;-----
 
0299 A0 0106 R MOV AL, KEYBOARD_BUFFER+3 ; ,
029C B9 001F MOV CX, RECORD_SIZE-1 ;
029F 8D 3E 0091 R LEA DI, DISK_TRANSFER_ADDRESS+1
02A3 F3/ AA REP STOSB ; 31
02A5 B4 22 MOV AH, 22H
02A7 8D 16 005C R LEA DX, FCB
02AB CD 21 INT 21H ;
;