+ Reply to Thread
Results 1 to 3 of 3

Thread: Assembly : Int 21H

  1. #1

    Assembly : Int 21H

    I'm new to learning assembly language, and I'm wondering what the command int 21h means. For example:
    Code:
    mov ah,01h
     int 21h
    Which should read a key from the user. Thanks in advance
    Last edited by basemhosam; 01-07-2012 at 02:44 AM.

  2. #2
    int 21h means, call the interrupt handler 0x21 which is the DOS Function dispatcher. the "mov ah,01h" is seeting AH with 0x01, which is the Keyboard Input with Echo handler in the interrupt. See:

    http://www.htl-steyr.ac.at/~morg/pci...s/inte2k4w.htm

    that`s helpful for your case

  3. #3
    oh cool , now i got it . thanks very much

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts