* updated tppufile.getaword to support 16-bit and 8-bit aword sizes

git-svn-id: trunk@25671 -
This commit is contained in:
nickysn 2013-10-06 00:20:42 +00:00
parent 8574642a1f
commit 3b895ec0e8

View File

@ -846,11 +846,12 @@ begin
result:=0; result:=0;
end; end;
{$else not generic_cpu} {$else not generic_cpu}
{$ifdef cpu64bitalu} case sizeof(aword) of
result:=getqword; 8: result:=getqword;
{$else cpu64bitalu} 4: result:=getdword;
result:=getdword; 2: result:=getword;
{$endif cpu64bitalu} 1: result:=getbyte;
end;
{$endif not generic_cpu} {$endif not generic_cpu}
end; end;