PATCH : H8300 Simulator File I/O Implementation
Tue Jan 7 22:00:00 GMT 2003
> 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.
More information about the Newlib