It should have been two bytes, 0x88 and 0x01. This correspond to the value 0x0188.
I'm not seeing this behavior in 3.3.8.10 13-12-2011 or 3.3.8.10 05-02-2012 though, when compiling in BCC it specifies it as two separate bytes in both versions. And it behaves as intended on the NXT too.
It is possible that this is a bug in the FreePascal build that does not exist in the Delphi build. The Windows builds are all created using Delphi but Mac OSX and Linux are created using FreePascal. It also could depend on the version of FreePascal that you use to build the compiler.
Can you comment on which platform you are using (iirc Linux) and what version of the FreePascal compiler you have installed?
afanofosc wrote:It is possible that this is a bug in the FreePascal build that does not exist in the Delphi build. The Windows builds are all created using Delphi but Mac OSX and Linux are created using FreePascal. It also could depend on the version of FreePascal that you use to build the compiler.
Can you comment on which platform you are using (iirc Linux) and what version of the FreePascal compiler you have installed?
I use Slavko debian packages, I think this is 2.4.0.