Interrupt Handling with C SREGS REGS union BYTEREGS WORDREGS Structures int86 int86x intdos intdosx segread

Data Recovery Software | Data Recovery Services | Software Development | Web Services | Data Recovery | Live Chat | iPod Restore | Sim Card Recovery

Interrupt Handling with C

C is sometimes called a high level assembly language because it can call the different interrupts using some of its some defined functions. Some important functions are as follows:

  • int86: Invokes MS-DOS interrupts.
  • int86x: Invokes MS-DOS interrupt with segment register values.
  • intdos: invokes MS-DOS service using registers other than DX and AL
  • intdosx: invokes MS-DOS service with segment register values.
  • segread: Reads Segment registers

We shall discuss these functions in detail. First of all we discuss some predefined structure and unions that are frequently or necessarily used with these functions.

SREGS Structure

This structure has been defined in dos.h and it is a structure of the segment registers passed to and filled in by the functions, int86x, intdosx and segread. The declaration of the structure is as follows:

struct SREGS {
unsigned int es;
unsigned int cs;
unsigned int ss;
unsigned int ds;
};

Data Recovery Software With Crack
Free Digital Pictures Recovery Pen Drive Recover Data Free Data Retrieval Software Undelete Files Windows
Free Undelete Software Download Partition Recovery NTFS Recover Deleted Text Messages From Cell Phone USB Data Recovery Free
Memory Card File Recovery File Recovery Tool Freeware Data Recovery Service Reviews iPod Restorer

REGS union

REGS is the union of two structures. The union REGS has been defined dos.h and it is used to pass information to and from the functions, int86, int86x, intdos and intdosx. The declaration of the union is as follows:

union REGS {
struct WORDREGS x;
struct BYTEREGS h;

};

BYTEREGS and WORDREGS Structures

The BYTEREGES and WORDREGS structures have been defined in dos.h and these are used for storing byte and word registers. The WORGREGS structure allows the user to access the registers of CPU as 16-bit quantities where BYTEREGES structure gives the access to the individual 8-bit registers.

The BITEREGS structure is declared as follows:

struct BYTEREGS {
unsigned char al, ah, bl, bh;
unsigned char cl, ch, dl, dh;
};
And the WORDREGS structure is declared as follows:

struct WORDREGS {
unsigned int ax, bx, cx, dx;
unsigned int si, di, cflag, flags;
};

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 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38

Next page
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

Data recovery Education center Data recovery Education center
Data Recovery Training Data Recovery Training
Data Recovery Services Data Recovery Services
Data Recovery Education Materials Data Recovery Education Materials
Data Recovery Book Data Recovery Book

USB Drive Recovery Freeware
File Recovery Utilities
Undelete Partitions
Free Windows Data Recovery
Recover Files From Recycle Bin
Free Flash Drive Data Recovery
Digital Camera Picture Recovery
Keylogger Freeware
Free Password Cracker
Deleted Files Recovery
Download iPod Recovery
Data Recovery Tool Free Download
File Recovery Program
Free Hard Drive Data Recovery
Memory Stick Data Recovery Software
Data Restore Undelete
Hard Disk Recovery Free
Download Data Recovery Utilities
Recover Lost Data

Software development services Software development services
Custom Software Development Custom Software Development
Offshore Software Development Offshore Software Development
Microsoft .NET Development Microsoft .NET Development
Java / J2EE Development Java / J2EE Development
Wireless / Mobile Application Development Wireless / Mobile Application Development
Database Solutions Database Solutions


Data Recovery Software

Data Recovery Software

iPod Restore

iPod Restore

Memory Stick Data Recovery

Memory Stick Data Recovery

Mobile Phone Data Recovery

Mobile Phone Data Recovery

USB Drive Data Recovery

USB Drive Data Recovery

Data Recovery Utility

Data Recovery Utility

Digital Camera Data Recovery

Digital Camera Data Recovery

Data Recovery Services

Data Recovery Services

Data Recovery

Data Recovery

Data Recovery Utilities

Data Recovery Utilities

File Recovery Software

File Recovery Software

Files Recovery

Files Recovery

iPod Data Recovery

iPod Data Recovery

Data Recovery Tools

Data Recovery Tools

© Copyright 2002-2005 DataDoctor.Biz

Pen Drive Data Recovery Software | Memory Card Data Recovery Software | iPod Data Recovery Software | Digital Camera Data Recovery Software | Removable Media Data Recovery Software | Windows Data Recovery Software | FAT Data Recovery Software | NTFS Data Recovery Software | Data Recovery Training | Data Recovery Services | Data Recovery Education Material | Data Recovery Book | Custom Software Development | Offshore Software Development | Microsoft .NET Development | Java / J2EE Development | Wireless / Mobile Application Development | Database Solutions | Website Design | Website Development | Website Promotion | Mobile Website Design | Website Testing | Graphic Design

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