1. Re: pete: asm.e -bug
- Posted by "mic _" <stabmaster_ at hotmail.com> Sep 07, 2004
- 591 views
>I have some 16 bit code i would like (i think?) to move to 32 bit assy code >(or >to Eu?) which i originally wrote in Turbo Pascal. They are harddrive device >drivers. Should i leave them in 16bit TP, is asm.e a better choice if i >knew >the 32bit opcodes, is there a 16/32 bit toggle somewhere in asm.e? There's a variable called DEFAULT_OPERAND which, if you set it to WORD instead of DWORD (at around line 94) should give you 16-bit code. I haven't actually tried this so I can't guarantee that it'll work. I'd recommend going 32-bit instead - all you have to do usually is getting rid of segment register uses (cs, ds etc) since you're operating in a flat memory space.