[fpc-devel] ARM4 and THUMB instruction sets
Yury Sidorov
jura at cp-lab.com
Thu Oct 18 13:15:27 CEST 2007
From: "Daniƫl Mantione" <daniel.mantione at freepascal.org>
> Op Wed, 17 Oct 2007, schreef Felipe Monteiro de Carvalho:
> > so it may be useful to see of
> > we can easely support thumb. Since we always use an external
> > assembler
> > for arm, I wounder: Wouldn't be supporting arm4/thumb just a
> > question
> > of switching a switch when calling the assembler?
>
> No, thumb assembler code is different from generating normal
> assembler
> code. You need serious code generator modifications.
Even worse. Thumb is completely different instruction set with
different number of registers. Completely new code generator is needed
for thumb.
Yury.
More information about the fpc-devel
mailing list