Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Yahel
  • Order by date
  1. Yahel

    Convert Hex. to Decimal

    Ok. I don't have time to think of a better solution (Any solution is better than this one), but it is better than nothing, so here it is: START: MOV CX,0FFFFh ;the number to turn to Decimal MOV AX,0 MOV BX,0 MOV DL,0 INC_LOOP: INC AL ;AL is the first...
  2. Yahel

    Specify user input file

    If you want to read the file from the command line here is the code: Source DB 32 dup(0) ;Place to keep name MOV BX,80h XOR CX,CX MOV CL,[BX] ;Num of chars in CL SUB CX,1 ;minus the space MOV BX,82h ;start of string MOV...
  3. Yahel

    Specify user input file

    OK. If you want the user to enter the file name here is the code: Source DB 32 dup(0) ;Place to keep name MOV AX,SEG Source MOV DX,OFFSET Source ;------------------------------ MOV DS,AX MOV AH,0Ah ;Code to read string MOV...

Part and Inventory Search

Back
Top