Re: [fpc-pascal] Compiler probem?
Paul Renaud via fpc-pascal schrieb am Sa., 4. Nov. 2023, 16:18: > Hi, I have a question about some code. > > The following code segment generated a compiler error when I compiled it > with... > > fpc Sample -Se -gl -al > > but not when it's compiled with... > > fpc Sample -Se -gl > > ... > Asm > LdRH R0, [ R1, R2, LSL #1 ] > End [ 'R0', 'R1' ]; > ... > > Any idea why? Its driving me crazy. > Please provide information what target your compiling for, what target you are compiling from, the compiler version you are using, the exact error you get and a complete code example. Regards, Sven > ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Compiler probem?
Paul Renaud via fpc-pascal wrote: Hi, I have a question about some code. The following code segment generated a compiler error when I compiled it with... "A compiler error" assumes that we all have a crystal ball to look in Regards, Adriaan van Os ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
[fpc-pascal] Compiler probem?
Hi, I have a question about some code. The following code segment generated a compiler error when I compiled it with... fpc Sample -Se -gl -al but not when it's compiled with... fpc Sample -Se -gl ... Asm LdRH R0, [ R1, R2, LSL #1 ]End [ 'R0', 'R1' ];... Any idea why? Its driving me crazy. Thanks, Paul. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal