> Tomas Hajny wrote:
> >
> >
> > What exactly happens there now (I don't have an ARM, just curious ;-) )?
> > Is it that the compiler generates the code as it is instructed to do (i.e.
> > regardless the fact that it might not work under ARM),
>
> Yes. That's common behaviour.
>
> > and that the
> > particular instruction is just ignored by the CPU (without exception), or
> > what?
>
> That depends on the OS, I've no clue either. Under Linux you get an exception.

The CPU keeps running, In fact if I analyze the Input/Output
(convert it to hex) it is possible to se that part of the number
is written and that what should be LSB has moved.

I have solved the problem with "move" as suggested by
Florian Klaempfl.

>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

--
Carsten Bager
Bøvlingbjerg El-automatik
Brørupvænget 10
7650 Bøvlingbjerg
Tlf. +4597885222 Fax +4597885434
http://www.beas.dk

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to