URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Subversion Repositories or1k_old
[/] [or1k_old/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [h8300hms/] [write.c] - Rev 1765
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