porting an IAx86 disassembler

BCS ao at pathlink.com
Mon Oct 8 18:36:17 PDT 2007


Reply to llee,

> That's what I'm thinking, but I do not know how to do this. Any ideas?
> 
> Walter Bright Wrote:
> 
>> Sounds like you should be checking the alignment/size/offsets of
>> struct members to be sure the D & C versions match.
>> 

offsetof comes to mind

or make a struct and print out it's address and the address of each of it's 
parts. Do this is D and C and do the math. if the offset's are differnt then 
you have a problem.





More information about the Digitalmars-d mailing list