Home
last modified time | relevance | path

Searched refs:PC (Results 1 – 25 of 55) sorted by relevance

123

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/MSP430X/
DMSP430X.cs161 public override RegisterValue PC { get; set; } property in Antmicro.Renode.Peripherals.CPU.MSP430X
179 public RegisterValue R0 => PC;
258 if(hooks.ContainsKey(PC.RawValue)) in ExecuteInstructions()
271 this.Log(LogLevel.Noisy, "Executing hooks @ {0}", PC); in ExecutionFinished()
272 foreach(var hook in hooks[PC.RawValue]) in ExecutionFinished()
274 hook(this, PC.RawValue); in ExecutionFinished()
305 case Registers.PC: in GetRegisterValue()
306 return PC; in GetRegisterValue()
379 case Registers.PC: in SetRegisterValue()
380 PC = value; in SetRegisterValue()
[all …]
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/ExecutionTracer/
DTraceTextWriter.cs21 TraceFormat.PC,
53 case TraceFormat.PC: in Write()
54 stringBuilder.AppendFormat("0x{0:X}\n", result.PC); in Write()
62 … stringBuilder.AppendFormat("0x{0:X}: 0x{1}\n", result.PC, result.OpcodeString.ToUpper()); in Write()
78 while(hasAdditionalData && (nextAdditionalData.PC == pcVirtual)) in Write()
DTraceFormat.cs14 PC, enumerator
32 this.PC = pc; in AdditionalData()
35 public ulong PC { get; } property in Antmicro.Renode.Peripherals.CPU.AdditionalData
DTraceBinaryWriter.cs20 TraceFormat.PC,
28 this.pcWidth = this.format == TraceFormat.Opcode ? 0 : (int)(cpu.PC.Bits + 7) / 8; in TraceBinaryWriter()
86 while(hasAdditionalData && insnAdditionalData.PC == pcVirtual) in Write()
107 private bool IncludeOpcode => this.format != TraceFormat.PC;
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/
DPicoRV32.cs116 … this.Log(LogLevel.Noisy, "PC@0x{1:X}: Execution finished with result: {0}", result, PC.RawValue); in ExecutionFinished()
144 qRegisters[0] = PC; in ExecutionFinished()
147 PC = resetVectorAddress; in ExecutionFinished()
190 …instruction: setting X[{0}] to the value of q[{1}]: 0x{2:X}", rd, qs, qRegisters[qs], PC.RawValue); in HandleGetqInstruction()
200 …instruction: setting q[{0}] to the value of X[{1}]: 0x{2:X}", qd, rs, X[rs].RawValue, PC.RawValue); in HandleSetqInstruction()
207 var currentPC = PC.RawValue; in HandleRetirqInstruction()
209 PC = qRegisters[0]; in HandleRetirqInstruction()
244 …gister X[{1}]; old value 0x{2:X} written to X[{3}]", newValue, rs, previousValue, rd, PC.RawValue); in HandleMaskirqInstruction()
DCV32E40P.cs115 this.Log(LogLevel.Noisy, "({0}) at PC={1:X}", log, PC.RawValue); in MultiplyAccumulate()
134 this.Log(LogLevel.Noisy, "({0}) at PC={1:X}", log, PC.RawValue); in LoadRegisterImmediate()
148 this.Log(LogLevel.Noisy, "({0}) at PC={1:X}", log, PC.RawValue); in LoadRegisterRegister()
168 this.Log(LogLevel.Noisy, "({0}) at PC={1:X}", log, PC.RawValue); in StoreRegisterImmediate()
182 this.Log(LogLevel.Noisy, "({0}) at PC={1:X}", log, PC.RawValue); in StoreRegisterRegister()
203 this.Log(LogLevel.Noisy, "({0}) at PC=0x{1:X}", log, PC.RawValue); in CompareRegisters()
235 this.Log(LogLevel.Noisy, "({0}) at PC={1:X}", log, PC.RawValue); in ManipulateBitsInRegister()
290 this.Log(LogLevel.Noisy, "({0}) at PC={1:X}", log, PC.RawValue); in BranchIf()
297 … var newPC = (uint)((uint)GetRegister((int)RiscV32Registers.PC).RawValue + (imm12 << 1)); in BranchIf()
298 PC = newPC; in BranchIf()
[all …]
DRiscV32Registers.tt20 BEFORE_WRITE_HOOKS.Add("PC", "BeforePCWrite");
41 "X30", "X31", "PC" });
DRiscV64Registers.tt20 BEFORE_WRITE_HOOKS.Add("PC", "BeforePCWrite");
41 "X30", "X31", "PC" });
DOpenTitan_BigNumberAcceleratorCore.cs92 PC = 0x0; in Reset()
347 …l.Debug, string.Format("Executing #{0} instruction(s) at {1}", numberOfInstructionsToExecute, PC)); in ExecuteInstructions()
375 …Log(LogLevel.Debug, string.Format("Handling loop at 0x{0:X}, current context: {1}", PC, currentLoo… in ExecuteLoop()
387 var isLastInstructionInTheIteration = (PC == currentLoopContext.EndPC); in ExecuteLoop()
401 PC = currentLoopContext.StartPC; in ExecuteLoop()
468 if(loopStack.Any(x => x.EndPC == PC)) in InnerLoopHandler()
478 StartPC = PC + 4u, in InnerLoopHandler()
479 EndPC = PC + bodySize * 4, in InnerLoopHandler()
484 Log(LogLevel.Debug, string.Format("Added new loop context at 0: {1}", PC, newContext)); in InnerLoopHandler()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm/
DArmRegisters.cs69 public override RegisterValue PC property in Antmicro.Renode.Peripherals.CPU.Arm
73 return GetRegisterValue32((int)ArmRegisters.PC);
78 SetRegisterValue32((int)ArmRegisters.PC, value);
150 …{ ArmRegisters.PC, new CPURegister(15, 32, isGeneral: true, isReadonly: false, aliases: new [] { …
159 PC = 15, enumerator
DArmRegisters.tt17 BEFORE_WRITE_HOOKS.Add("PC", "BeforePCWrite");
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/Disassembler/
DLLVMDisassembler.cs174 PC = pc, in TryDisassembleInstruction()
286 PC = pc, in TryDisassembleInstruction()
297 PC = pc, in TryDisassembleInstruction()
308 PC = pc, in TryDisassembleInstruction()
319 PC = pc, in TryDisassembleInstruction()
330 PC = pc, in TryDisassembleInstruction()
341 PC = pc, in TryDisassembleInstruction()
DIDisassembler.cs20 public ulong PC { get; set; } property
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Sparc/
DSparcRegisters.tt18 AFTER_WRITE_HOOKS.Add("PC", "AfterPCSet");
28 "PSR", "TBR", "Y", "PC", "NPC", "WIM" });
DSparcRegisters.cs93 public override RegisterValue PC property in Antmicro.Renode.Peripherals.CPU.Sparc
97 return GetRegisterValue32((int)SparcRegisters.PC);
101 SetRegisterValue32((int)SparcRegisters.PC, value);
276 …{ SparcRegisters.PC, new CPURegister(68, 32, isGeneral: true, isReadonly: false, aliases: new [] …
289 PC = 68, enumerator
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/X86/
DX86Registers.cs297 public override RegisterValue PC property in Antmicro.Renode.Peripherals.CPU.X86
301 return GetRegisterValue32((int)X86Registers.PC);
305 SetRegisterValue32((int)X86Registers.PC, value);
372 PC = 8, enumerator
DX86_64Registers.cs489 public override RegisterValue PC property in Antmicro.Renode.Peripherals.CPU.X86_64
493 return GetRegisterValue64((int)X86_64Registers.PC);
497 SetRegisterValue64((int)X86_64Registers.PC, value);
596 PC = 16, enumerator
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm64/
DARMv8RRegisters.cs75 public override RegisterValue PC property in Antmicro.Renode.Peripherals.CPU.ARMv8R
79 return GetRegisterValue64((int)ARMv8RRegisters.PC);
83 SetRegisterValue64((int)ARMv8RRegisters.PC, value);
258 …{ ARMv8RRegisters.PC, new CPURegister(32, 64, isGeneral: false, isReadonly: false, aliases: new […
285 PC = 32, enumerator
DARMv8ARegisters.cs83 public override RegisterValue PC property in Antmicro.Renode.Peripherals.CPU.ARMv8A
87 return GetRegisterValue64((int)ARMv8ARegisters.PC);
91 SetRegisterValue64((int)ARMv8ARegisters.PC, value);
266 …{ ARMv8ARegisters.PC, new CPURegister(32, 64, isGeneral: true, isReadonly: false, aliases: new []…
293 PC = 32, enumerator
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/PowerPC/
DPowerPc64Registers.cs105 public override RegisterValue PC property in Antmicro.Renode.Peripherals.CPU.PowerPc64
109 return GetRegisterValue64((int)PowerPc64Registers.PC);
113 SetRegisterValue64((int)PowerPc64Registers.PC, value);
221 PC = 64, enumerator
DPowerPcRegisters.cs105 public override RegisterValue PC property in Antmicro.Renode.Peripherals.CPU.PowerPc
109 return GetRegisterValue32((int)PowerPcRegisters.PC);
113 SetRegisterValue32((int)PowerPcRegisters.PC, value);
221 PC = 64, enumerator
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/Mocks/
DEmptyCPU.cs41 public override RegisterValue PC property in Antmicro.Renode.UnitTests.Mocks.EmptyCPU
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/GuestProfiling/
DCollapsedStackProfiler.cs42 var prevSymbol = GetSymbolName(cpu.PC.RawValue); in StackFrameAdd()
100 … cpu.Log(LogLevel.Debug, "Profiler: Interrupt entry (pc 0x{0:X})- saving the stack", cpu.PC); in InterruptEnter()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Xtensa/
DXtensaRegisters.tt16 "AR10", "AR11", "AR12", "AR13", "AR14", "AR15", "PC" });
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/CPU/
DICPU.cs23 RegisterValue PC { get; set; } property

123