home *** CD-ROM | disk | FTP | other *** search
/ Graphics Programming Black Book (Special Edition) / BlackBook.bin / disk1 / source / chapter9 / l9-7.asm < prev   
Assembly Source File  |  1997-06-18  |  370b  |  19 lines

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