JMP.COM -- Copyright(C)2004 by Daniel B. Sedory.
(Just a simple example program full of JMP code.)

  This is a real working program that will display:

Our JMP tour has ended... Goodbye!

if you execute it.  But its main purpose is for you
to see how various sized relative offset bytes will
affect the Jump instruction!  Have fun, play around
with the code... experiment on your own.

  The code for just the display portion of JMP.COM
is as follows:

02D0 BE4D03        MOV     SI,034D
02D3 AC            LODSB
02D4 3C00          CMP     AL,00
02D6 7409          JZ      02E1
02D8 BB0700        MOV     BX,0007
02DB B40E          MOV     AH,0E
02DD CD10          INT     10
02DF EBF2          JMP     02D3
02E1 B8014C        MOV     AX,4C01
02E4 CD21          INT     21

0340                                         0D 0A 0D                ...
0350  0A 4F 75 72 20 4A 4D 50-20 74 6F 75 72 20 68 61   .Our JMP tour ha
0360  73 20 65 6E 64 65 64 2E-2E 2E 20 47 6F 6F 64 62   s ended... Goodb
0370  79 65 21 0D 0A 0D 0A 00-00 00 00 00 00 00 00 00   ye!.............


EOF. The Starman. 14 OCT 2004.