어셈블리 언어와 동등한 C에서 이용된 REGS 조합 성분은 다음 주어진 테이블에 있었다:
16-비트 |
8 비트 |
C 언어 |
어셈블리 언어 |
C 언어 |
어셈블리 언어 |
inregs.x.ax |
도끼 |
inregs.h.al |
알루미늄 |
|
|
inregs.h.ah |
아아 |
inregs.x.bx |
BX |
inregs.h.bl |
BL |
|
|
inregs.h.bh |
BH |
inregs.x.cx |
CX |
inregs.h.cl |
CL |
|
|
inregs.h.ch |
CH |
inregs.x.dx |
DX |
inregs.h.dl |
DL |
|
|
inregs.h.dh |
DH |
inregs.x.si |
SI |
|
|
inregs.x.di |
디디뮴 |
|
|
inregs.x.cflag |
CF |
|
|
저희가 int86와 int86x 기능의 보기를 보게 하십시오. 뒤에 오는 프로그램은 플러피 디스크의 각 분야를 검사하고 스크린에 각 분야의 상태를 인쇄한다.
/* 플러피 디스크의 각 분야를 검사하고 상태를 인쇄하는 프로그램 */
#include<dos.h>
#include<conio.h>
void main()
{
int head,track,sector,i;
char *buf;
union REGS inregs, outregs;
struct SREGS sregs;
clrscr();
Sample Chapters from book DATA RECOVERY WITH AND WITHOUT PROGRAMMING by Author Tarun Tyagi, translated using machine translation. See original English contents on Data recovery book pages. |
|
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)
|
 |
|
|