mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-03 10:49:58 +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;
|
|
}
|