Mail Archives: djgpp/2003/03/04/09:46:43
Joel_S <jbs30000 DOT news DOT invalid AT web2news DOT net> wrote:
> I solved my earlier SVGA problem that I had, but now I have a new one.
> I get this error message:
> Error: can't find a register in class `DREG' while reloading `asm'
This means your inline assembly code is buggy. Looking at it, my
first suspect is having %edx in the clobber list, but also "d" in the
inputs. This can't work. Same for "b" vs. %ebx, I guess. Anyway, if
you're going to mark practically everything as clobbered anyway,
there's not much point using extended assembly syntax. A simpler
asm volatile ("movx %edi, _bank_number\n\
call *_pm_bank_switcher");
(syntax unchecked) would work just as well.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -