mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-31 08:42:33 +02:00
* updated tppufile.getaword to support 16-bit and 8-bit aword sizes
git-svn-id: trunk@25671 -
This commit is contained in:
parent
8574642a1f
commit
3b895ec0e8
@ -846,11 +846,12 @@ begin
|
||||
result:=0;
|
||||
end;
|
||||
{$else not generic_cpu}
|
||||
{$ifdef cpu64bitalu}
|
||||
result:=getqword;
|
||||
{$else cpu64bitalu}
|
||||
result:=getdword;
|
||||
{$endif cpu64bitalu}
|
||||
case sizeof(aword) of
|
||||
8: result:=getqword;
|
||||
4: result:=getdword;
|
||||
2: result:=getword;
|
||||
1: result:=getbyte;
|
||||
end;
|
||||
{$endif not generic_cpu}
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user