implemented bcfInstruction (#25)
Co-authored-by: Darkress <30271678+DarkressX@users.noreply.github.com> Reviewed-on: darkress/pic16f84-sim#25
This commit was merged in pull request #25.
This commit is contained in:
@@ -14,7 +14,7 @@ class Main
|
||||
ArrayList<Command> program = new ArrayList<>();
|
||||
Memory.workingRegister = 0x01;
|
||||
Memory.setRegister(0x14, 0xA5); //240 << 224
|
||||
program.add(CommandDecoder.decode(0x0694));
|
||||
program.add(CommandDecoder.decode(0x1114));
|
||||
for(int i = 0; i < program.size(); i++)
|
||||
{
|
||||
program.get(ProgramCounter.getPc()).execute();
|
||||
|
||||
Reference in New Issue
Block a user