callInstruction (#3)

Co-authored-by: Darkress <30271678+DarkressX@users.noreply.github.com>
Reviewed-on: darkress/pic16f84-sim#3
This commit was merged in pull request #3.
This commit is contained in:
darkress
2023-05-30 01:19:58 +02:00
parent 1b3529c403
commit 666cc2881b
5 changed files with 25 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ public class ProgramCounter
return pc;
}
public static void setPcForGotoCall(int data)
public static void setPcFrom11BitLiteral(int data)
{
int pcl = data & 0x00FF;
int pch = Memory.getPCLATH();