home *** CD-ROM | disk | FTP | other *** search
/ Frostbyte's 1980s DOS Shareware Collection / floppyshareware.zip / floppyshareware / USCX / STEVEUT.ZIP / LOCATE.ASM < prev    next >
Assembly Source File  |  1984-05-16  |  688b  |  19 lines

  1.          PAGE,132
  2.          TITLE LOCATE.ASM
  3.          NAME LOCATE_CODE
  4. LOCATE_CODE  SEGMENT 'CODE'
  5.          PUBLIC    LOCATE
  6. LOCATE   PROC      FAR
  7.          PUSH      BP             ;SAVE THE BASE POINTER TO RETURN
  8.          MOV       BP,SP          ;GET THE STACK ADDRESS
  9.          MOV       BH,0           ;SCREEN # TO USE
  10.          MOV       DH,[BP]+8      ;GET THE ROW
  11.          MOV       DL,[BP]+6      ;GET THE COL
  12.          MOV       AH,2           ;SELECT BIOS CALL
  13.          INT       10H            ;CALL INTO BIOS
  14.          POP       BP             ;RESTORE BASE POINTER
  15.          RET       4              ;CLEAR THE STACK
  16. LOCATE   ENDP
  17. LOCATE_CODE ENDS
  18.          END
  19.