mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-25 04:00:48 +01:00
* itcpugas unit for Z80 providing gas_regname to fix compilation with -dDEBUG_NODE_XML
This commit is contained in:
parent
34587a647f
commit
6cb24a3929
41
compiler/z80/itcpugas.pas
Normal file
41
compiler/z80/itcpugas.pas
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
Copyright (c) 1998-2002 by Florian Klaempfl
|
||||||
|
|
||||||
|
This unit contains a dummy Z80 GAS unit to provide gas_regname
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
|
||||||
|
****************************************************************************
|
||||||
|
}
|
||||||
|
unit itcpugas;
|
||||||
|
|
||||||
|
{$i fpcdefs.inc}
|
||||||
|
|
||||||
|
interface
|
||||||
|
|
||||||
|
uses
|
||||||
|
cpubase,cgbase;
|
||||||
|
|
||||||
|
function gas_regname(r:Tregister):string;
|
||||||
|
|
||||||
|
implementation
|
||||||
|
|
||||||
|
function gas_regname(r:Tregister):string;
|
||||||
|
begin
|
||||||
|
result:=std_regname(r);
|
||||||
|
end;
|
||||||
|
|
||||||
|
end.
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user