mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 04:59:26 +02:00
* proper defines of aitconst_ptr, aitconst_ptr_unaligned and aitconst_aint for 16-bit and 8-bit CPUs
git-svn-id: branches/i8086@24015 -
This commit is contained in:
parent
b2fc6a2f6d
commit
f780d37d5e
@ -142,19 +142,26 @@ interface
|
||||
);
|
||||
|
||||
const
|
||||
{$ifdef cpu64bitaddr}
|
||||
{$if defined(cpu64bitaddr)}
|
||||
aitconst_ptr = aitconst_64bit;
|
||||
aitconst_ptr_unaligned = aitconst_64bit_unaligned;
|
||||
{$else cpu64bitaddr}
|
||||
{$elseif defined(cpu32bitaddr)}
|
||||
aitconst_ptr = aitconst_32bit;
|
||||
aitconst_ptr_unaligned = aitconst_32bit_unaligned;
|
||||
{$endif cpu64bitaddr}
|
||||
{$elseif defined(cpu16bitaddr)}
|
||||
aitconst_ptr = aitconst_16bit;
|
||||
aitconst_ptr_unaligned = aitconst_16bit_unaligned;
|
||||
{$endif}
|
||||
|
||||
{$ifdef cpu64bitalu}
|
||||
{$if defined(cpu64bitalu)}
|
||||
aitconst_aint = aitconst_64bit;
|
||||
{$else cpu64bitaddr}
|
||||
{$elseif defined(cpu32bitalu)}
|
||||
aitconst_aint = aitconst_32bit;
|
||||
{$endif cpu64bitaddr}
|
||||
{$elseif defined(cpu16bitalu)}
|
||||
aitconst_aint = aitconst_16bit;
|
||||
{$elseif defined(cpu8bitalu)}
|
||||
aitconst_aint = aitconst_8bit;
|
||||
{$endif}
|
||||
|
||||
taitypestr : array[taitype] of string[24] = (
|
||||
'<none>',
|
||||
|
Loading…
Reference in New Issue
Block a user