home *** CD-ROM | disk | FTP | other *** search
- Program FirstInlineDemo;
- { This is the first demonstration program that shows how to }
- { create an inline statement by using DOS's Debug utility. }
- { This demo's only purpose is to show how easy it is to }
- { create an Inline statement. It serves no other purpose. }
-
- Procedure InlineDemo;
- { Procedure that contains the do-nothing inline statement. }
-
- Begin
- Inline( $B4/$30/ { MOV AH,30 }
- $CD/$21/ { INT 21 }
- $3C/$03/ { CMP AL,03 }
- $7C/$05/ { JL 5 }
- $80/$FC/$1E/ { CMP AH,1E }
- $7D/$00/ { JGE 0 }
- $90 ); { NOP }
- End;
-
- Begin
- Writeln( 'Calling InlineDemo' );
- InlineDemo;
- Writeln( 'Finished with InlineDemo' );
- Readln;
- End.