Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* __divq, __remq, etc.
@ 2000-03-17  5:00 Christian Hilm
  0 siblings, 0 replies; only message in thread
From: Christian Hilm @ 2000-03-17  5:00 UTC (permalink / raw)


Hi.
As second year students of Department of Computer Science at University of
Copenhagen, my project group and I are currently required to write a
(primitive) kernel for AlphaPC 164SX. We are using g++ and Alpha-assembler
as tools, and we have written our own division routine which works fine, but
we would like to avoid using it like this: div (25, 5). It would be better
if we were able to use the standard notation, that is, 25 / 5 and similarly
25 % 5 for modulus. I think what we are looking for is the return and
parameter types for  __divq, and __remq, etc. so that we can make these
functions (which the compiler is looking for) in order to avoid linker
errors.
Any help would be appreciated,
Christian.

P.S. Hope this is the right forum for this, otherwise: sorry!





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-03-17  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-17  5:00 __divq, __remq, etc Christian Hilm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox