PATCH : H8300 Simulator File I/O Implementation

Kazu Hirata
Tue Jan 7 22:00:00 GMT 2003

Hi Venky,

> Based on my earlier mail:
> and subsequent ideas and suggestions from Kazu Hirata, I am 
> submitting the modified patches.


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