home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MAGAZINE / MISC / PCTV2N5.ZIP / L4.ASM < prev    next >
Encoding:
Assembly Source File  |  1991-09-06  |  354 b   |  17 lines

  1. ; Program to perform a direct far jump to address 1000:5.
  2. ; *** Do not run this program! It's just an example of how ***
  3. ; *** to build a direct far jump to an absolute address    ***
  4. ;
  5. ; Tested with TASM 2 and MASM 5.
  6.  
  7. FarSeg    segment    at 01000h
  8.     org    5
  9. FarLabel label    far
  10. FarSeg    ends
  11.  
  12.     .model    small
  13.     .code
  14. start:
  15.     jmp    FarLabel
  16.     end    start
  17.