Renamed setPcForGotoCall function to setPcFrom11BitLiteral

This commit is contained in:
Darkress
2023-05-30 01:18:51 +02:00
parent 3eaf697306
commit 022dd499ce
5 changed files with 5 additions and 8 deletions

View File

@@ -1,6 +1,5 @@
package de.darkress.pic16f84sim.commands;
import de.darkress.pic16f84sim.microcontroller.Memory;
import de.darkress.pic16f84sim.microcontroller.ProgramCounter;
import de.darkress.pic16f84sim.microcontroller.Stack;
@@ -17,6 +16,6 @@ public class Call extends CommandUtils implements Command
public void execute()
{
Stack.push(ProgramCounter.getPc() + 1);
ProgramCounter.setPcForGotoCall(literal);
ProgramCounter.setPcFrom11BitLiteral(literal);
}
}