implemented bcfInstruction

This commit is contained in:
Darkress
2023-06-07 20:50:32 +02:00
parent b10ad35ae8
commit a58176dfef
4 changed files with 39 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(0x0694));
program.add(CommandDecoder.decode(0x1114));
for(int i = 0; i < program.size(); i++)
{
program.get(ProgramCounter.getPc()).execute();