home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / msdos / programm / 10582 < prev    next >
Encoding:
Internet Message Format  |  1992-11-13  |  1.2 KB

  1. Xref: sparky comp.os.msdos.programmer:10582 comp.sys.intel:2245
  2. Path: sparky!uunet!sun-barr!ames!agate!doc.ic.ac.uk!uknet!jet!kr
  3. From: kr@jet.uk (Kenneth Reed)
  4. Newsgroups: comp.os.msdos.programmer,comp.sys.intel
  5. Subject: Jmp (ea), offset (?), selector (tss)
  6. Message-ID: <1992Nov13.085333.3072@jet.uk>
  7. Date: 13 Nov 92 08:53:33 GMT
  8. Organization: Joint European Torus
  9. Lines: 20
  10.  
  11. Can anyone tell me what the meaning of the "offset" field is when doing a
  12. jump with a TSS selector as the argument?
  13.  
  14. I would have assumed that the EIP would be loaded from the TSS so I
  15. can't see what the role of the offset field in the instruction is.
  16.  
  17. As you may have deduced, my program crashes when I try jumping to a
  18. (virtual 8086) TSS (not even an exception, the machine just reboots)
  19. and, as I had to hand-code the instruction because my assembler
  20. doesn't seem to support it, I may have got it wrong. I just put a
  21. 16-bit zero in the field (I'm in a 16-bit code segment).
  22.  
  23. As always, any help would be most appreciated.
  24.  
  25. Ken
  26. -- 
  27. - Ken Reed, Joint European Torus, Abingdon, Oxfordshire, UK
  28.   kr@jet.uk
  29. - Disclaimer: Please note that the above is a personal view and should not 
  30.   be construed as an official comment from the JET project.
  31.