implemented btfsc Instruction (#27)
Co-authored-by: Darkress <30271678+DarkressX@users.noreply.github.com> Reviewed-on: darkress/pic16f84-sim#27
This commit was merged in pull request #27.
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(0x1594));
|
||||
program.add(CommandDecoder.decode(0x1894));
|
||||
for(int i = 0; i < program.size(); i++)
|
||||
{
|
||||
program.get(ProgramCounter.getPc()).execute();
|
||||
|
||||
Reference in New Issue
Block a user