[fpc-pascal] Packed record

Carsten Bager carsten at beas.dk
Thu Oct 20 12:11:22 CEST 2005

> 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 at 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

More information about the fpc-pascal mailing list