Re: pete: asm.e -bug

new topic     » topic index » view thread      » older message » newer message

>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.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu