mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-04 13:06:01 +00:00
16 lines
179 B
C
16 lines
179 B
C
/* Public domain. */
|
|
extern int __mulhi3 (int, int);
|
|
|
|
int
|
|
__mulhi3 (int x, int y)
|
|
{
|
|
volatile int rv = 0;
|
|
|
|
while (y > 0)
|
|
{
|
|
rv += x;
|
|
y --;
|
|
}
|
|
return rv;
|
|
}
|