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...
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 =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.