diff --git a/compiler/aasmtai.pas b/compiler/aasmtai.pas index 911b95c43e..510a2a5883 100644 --- a/compiler/aasmtai.pas +++ b/compiler/aasmtai.pas @@ -2926,9 +2926,10 @@ implementation i : integer; begin inherited ppuload(t,ppufile); - { hopefully, we don't get problems with big/litte endian here when cross compiling :/ } + { hopefully, we don't get problems with big/little endian here when cross compiling :/ } ppufile.getdata(condition,sizeof(tasmcond)); - allocate_oper(ppufile.getbyte); + ops := ppufile.getbyte; + allocate_oper(ops); for i:=0 to ops-1 do ppuloadoper(ppufile,oper[i]^); opcode:=tasmop(ppufile.getword);