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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please, help me identify the function of these instructions.

Status
Not open for further replies.

bigteddy

Programmer
Jun 20, 2008
1
US
I am reading through some code and ran across:

2E CS:
..
...
..
..
662E CS:
..
..
..
FF97B644 CALL w.[BX+044b6]

What is "CS:" on its own?
What is "w."?

I could not find any reference to either.

Thank you for your help.
 
The 662e CS: is a segment override. Without the following instructions, not exactly sure WHY it is being declared there, but it is used to tell the processor that the memory that the instruction immediately following the override accesses is to be based on the Code Segment register instead of the default segment register. w looks to be a structure/record that was defined elsewhere, and w.[BX+044b6] is a pointer that holds the destination address of the call. My best guess would be it is a VMT (Virtual Member Table) for some kind of object.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top