URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [h8300hms/] [write.c] - Rev 1774
Go to most recent revision | Compare with Previous | Blame | View Log
int _write(file, ptr, len) int file; char *ptr; int len; { int todo; for (todo = 0; todo < len; todo++) { asm("mov.b #0,r1l\n mov.b %0l,r2l\njsr @@0xc4" : : "r" (*ptr++) : "r1", "r2"); } return len; }
Go to most recent revision | Compare with Previous | Blame | View Log