PATCH : H8300 Simulator File I/O Implementation

Kazu Hirata kazu@cs.umass.edu
Tue Jan 7 22:00:00 GMT 2003


Hi Venky,

> Based on my earlier mail:
> 
> http://sources.redhat.com/ml/gdb-patches/2002-12/msg00760.html
> 
> and subsequent ideas and suggestions from Kazu Hirata, I am 
> submitting the modified patches.

Thanks,

> ;int open(const char *pathname, int flags);
> ;Integer arguments have to be zero extended.
> ;The second argument is taken from the stack,
> ;hence it is not zero extended here.

By the second argument, do you mean flags?  If so, it is in regster r1
or er1 in all variants of H8, I think.

Kazu Hirata



More information about the Newlib mailing list