Article # 239, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
How is register es passed to process class methods?
Q. In the handler of a process class message, what does ES segment register contain when it is passed in? Does it point to the segment of the process class, dgroup, or something else? How about in both XIP and non-XIP cases? A. It always points to the segment of the process class. If the class is in dgroup, es points to dgroup. If the class is in a separate resource, es points to that resource. Usually, class definitions are put in dgorup in non-XIP and a separate resource in XIP. So, usually, es points to dgroup in non-XIP and the separate resource in XIP.