Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Jennings
  • Order by date
  1. Jennings

    Segment of pointer in Turbo C

    So things are quite different in Turbo C. There are different models in Turbo C. In tiny/small model all variables are in one segment and SS has the same value with DS. In large data models the variables may locate in different segments so they may have different DS, and the variables in SS may...
  2. Jennings

    Segment of pointer in Turbo C

    No. a poiter of a local variable is in DS segment, not CS. Maybe it's not always the case but sure in Turbo C it is. I wonder how Jenda's codes works but at least it runs wrong in Turbo 2.0: 1. asm les di,[a] This line can't pass the assembler. 2. printf("address of a =...

Part and Inventory Search

Back
Top