Re: 8086 backend and stack problem

2006-07-20 Thread Ian Lance Taylor
Erdem Guven <[EMAIL PROTECTED]> writes: > I'm using the backend in a project. I want to compile > some codes in 16 bits int mode and others in 32 bits > int. I figured out that gcc uses int sized blocks to > store arguments, passed to a function, in stack. I > mean if function get a short (16 bits

8086 backend and stack problem

2006-07-20 Thread Erdem Guven
Hi, I'm writing an 8086 backend. Short info about backend: Basicly I converted m32c backend for 8086. For the moment, it can compile 16-32 bits integer & 16-32 bits pointer codes. 16 bits pointer codes can be assembled with as but for 32 bits I convert at&t assembly output to intel and use nasm to