version 1.3, 2000/08/22 05:03:55 |
version 1.4, 2018/03/29 01:32:50 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/asm/port.c,v 1.2 2000/08/21 08:31:17 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/asm/port.c,v 1.3 2000/08/22 05:03:55 noro Exp $ |
*/ |
*/ |
#include "base.h" |
#include "base.h" |
|
|
int dsab(base,a1,a2,up) |
int dsab(base,a1,a2,up) |
int base,a1,a2,*up; |
int base,a1,a2,*up; |
{ |
{ |
return dmab(base,a1,BASE,a2,up); |
return dmab(base,a1,BASE,a2,up); |
} |
} |
|
|
int dqr(a,b,qp) |
int dqr(a,b,qp) |
int a,b,*qp; |
int a,b,*qp; |
{ |
{ |
*qp = a/b; |
*qp = a/b; |
return a - b * (*qp); |
return a - b * (*qp); |
} |
} |