implemented bsf Instruction

This commit is contained in:
Darkress
2023-06-07 21:18:49 +02:00
parent fa89faa979
commit 91807e7983
3 changed files with 28 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(0x1114));
program.add(CommandDecoder.decode(0x1594));
for(int i = 0; i < program.size(); i++)
{
program.get(ProgramCounter.getPc()).execute();