implemented btfsc Instruction

This commit is contained in:
Darkress
2023-06-07 21:30:49 +02:00
parent d11f1b06f6
commit c6b5e3989e
3 changed files with 31 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ class Main
ArrayList<Command> program = new ArrayList<>();
Memory.workingRegister = 0x01;
Memory.setRegister(0x14, 0xA5); //240 << 224
program.add(CommandDecoder.decode(0x1594));
program.add(CommandDecoder.decode(0x1894));
for(int i = 0; i < program.size(); i++)
{
program.get(ProgramCounter.getPc()).execute();