1<#
2//
3// Copyright (c) 2010-2022 Antmicro
4// Copyright (c) 2011-2015 Realtime Embedded
5//
6// This file is licensed under the MIT License.
7// Full license text is available in 'licenses/MIT.txt'.
8//
9#>
10<#@ template language="C#" #>
11<#@ include file="../Common/RegisterTemplateDefinitions.tt" #>
12<#
13    CLASS_NAME = "PowerPc";
14    HEADER_FILE = "Emulator/Cores/tlib/arch/ppc/cpu_registers.h";
15
16    DEFINES.Add("TARGET_PPC32");
17
18    PC_REGISTER = "NIP";
19
20    GENERAL_REGISTERS.AddRange(new[] { "R0", "R1", "R2", "R3", "R4", "R5", "R6", "R7", "R8", "R9",
21                                       "R10", "R11", "R12", "R13", "R14", "R15", "R16", "R17", "R18", "R19",
22                                       "R20", "R21", "R22", "R23", "R24", "R25", "R26", "R27", "R28", "R29",
23                                       "R30", "R31",
24
25                                       "PC" });
26#>
27<#@ include file="../Common/RegisterTemplate.tt" #>