INT 20H (0x20) Terminate process INT 21H (0x21) Function 00H (0x00) Terminate process INT 21H (0x21) Function 01H (0x01) Character input with echo INT 21H (0x21) Function 02H (0x02) --> Character output

Data Recovery Software
Software Development Home Contact us Support

Data Recovery | Data Recovery Software | Partition Recovery | Undelete Partition | Password Recovery | Keylogger | File Recovery | Undelete Software

INT 20H ( 0x20) --> Terminate process

Call with: CS = segment address of program segment prefix

Returns: Nothing

Comments:

It terminates the current process. This is one of several methods that a program can use to perform a final exit. You can also use functions (00H or 31H or 4CH) of INT 21H or simply INT 27H to perform a final exit where functions 31H and 4CH of INT 21H are generally preferred because they allow a return code to be passed to the parent process.

It is recommended that if you have used File Control Blocks (FCBs) to write any file, you should close the file first otherwise you may lose the data because in the action of final exit all the memory that was taken by the process is released, File buffers are flushed and any open handles for files or devices owned by the process are closed.

Therefore if you have open handles for file you may lose the data.

Data Recovery
Data Retrieval Software File Recovery Software Data Recovery Services Data Recovery Utilities
Data Recovery Utility USB Drive Data Recovery Windows Data Recovery Pen Drive Data Recovery
Undelete Files Files Recovery iPod Data Recovery Digital Camera Data Recovery

INT 21H (0x21)

Function 00H (0x00) --> Terminate process

Call with: AH = 00H
CS = segment address of program segment prefix

Returns: Nothing

Comments:

This interrupt terminates the current process. This is one of several methods that a program can use to perform a final exit. For more information see INT 20H

INT 21H (0x21)

Function 01H (0x01) --> Character input with echo

Call with: AH = 01H

Returns: AL = 8-bit input data

Comments:

This interrupt reads a character from the standard input device such as keyboard and echoes it to the standard output device. If no character is ready, waits until one is available.

INT 21H (0x21)

Function 02H (0x02) --> Character output

Call with: AH = 02H
DL = 8-bit data for output

Returns: Nothing

Comments:

It outputs a character to the standard output device. Output can be redirected. If output is redirected, there is no way to detect disk full.

Strings can also be sent strings to the display by performing a write (INT 21H, Function 40H) using the predefined handle for the standard output (0001H), if output has not been redirected, or a handle obtained the logical device CON.

Sample Chapters from book DATA RECOVERY WITH AND WITHOUT PROGRAMMING by Author Tarun Tyagi
Data Recovery with & without Programming


Publishers of the Book
Number of Pages
ISBN
Price of the Book


BPB Publications, New Delhi, India
540
81-7656-922-4
$69.00 (Including Shipping Charges, Cost of Book and Other expenses, Free Source Code CD included with the Book)





Buy Data recovery Book

Previous page

page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20

 
 

page 21 | 22 | 23 | 24 | 25 | 26

Next page
System Utilities System Utilities
Keylogger Keylogger
Secure Data Wiper Secure Data Wiper

Data recovery software Data recovery software
Windows Data Recovery Software Windows Data Recovery Software
iPod Data Recovery Software iPod Data Recovery Software
Memory Card Data Recovery Software Memory Card Data Recovery Software
Pen Drive Data Recovery Software Pen Drive Data Recovery Software
Digital Camera Data Recovery Software Digital Camera Data Recovery Software
Removable Media Data Recovery Software Removable Media Data Recovery Software
FAT Data Recovery Software

FAT Data Recovery Software

NTFS Data Recovery Software NTFS Data Recovery Software
Zune Music Recovery Software Zune Music Recovery Software
Sim Card Data Recovery Software Sim Card Data Recovery Software
Digital Pictures Recovery Software Digital Pictures Recovery Software

Data Retrieval

Data Retrieval

File Recovery Tools

File Recovery Tools

Files Recovery

Files Recovery

Memory Stick Data Recovery

Memory Stick Data Recovery

iPod Restore

iPod Restore

Hard Drive Data Recovery

Hard Drive Data Recovery

Data Recovery Tools

Data Recovery Tools

Mobile Phone Data Recovery

Mobile Phone Data Recovery

Mobile Website Design

Mobile Website Design

Software Development

Software Development

Link Exchange

Link Exchange

Live Chat Online

Live Chat Online

Web Services

Web Services

Website Design

Website Design

Real Estate Ghaziabad

Real Estate Ghaziabad

Real Estate Noida

Real Estate Noida

© Copyright 2002-2005 DataDoctor.Biz

Home | Contact us | Downloads | Services | Resources | Terms and conditions | Site map

Languages: English Spanish French German italian portuguese Japanese Korean Chinese Russian Dutch Greek
Data Recovery Book: English Spanish French German Italian Portuguese Japanese Korean Chinese Russian Dutch Greek