지금 저희를 본다 기능 intdosx의 보기를 시키십시오. 뒤에 오는 보기는 intdosx 기능의 사용을 보여준다. 프로그램은 표준 산출에 끈을 출력한다.
/* 표준 산출에 산출 "끈"에 프로그램.*/
#include <dos.h>
union REGS inregs, outregs;
struct SREGS segregs;
char far *string = "이 끈은 과태 자료 segment$에 없다";
void main()
{
inregs.h.ah = 0x09; /* 기능 수 */
inregs.x.dx = FP_OFF(string);/*DS: DX는 '끈의 먼 주소이다 */
segregs.ds = FP_SEG(string);
intdosx(&inregs, &outregs, &segregs);
getch();
}
그리고 프로그램의 산출은 다음과 같이 일 것이다:
여기에서 우리는 INT 21H의 기능 09H에 의하여 기능 intdosx를 가진 주어진 끈을, 인쇄하고 있다. 주어진 끈이 특성 "$"로 항상 끝내야 한ㄴ다는 것을 항상 명심되어야 한다.
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)
|
 |
|
|