Lods byte ptr ds:[esi] ;i know that it loads a byte that is a pointer my question is " is the pointer ds with esi as an offset or is it the other way around or am i just plain wrong" ?
Jump to Post
esi just contains an address that is within the ds segment. ds is not a pointer -- it contains the address of the data segment. Sometimes you might even see cs:[esi] or even ss:[esi] in which case esi is pointer to somewhere in the code segment or stack segment, respectively.
All 4 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.