Skip to content

Commit

Permalink
Merge pull request #14 from nikolumber/nikolumber-devpatch
Browse files Browse the repository at this point in the history
Remove commented out code
  • Loading branch information
schemil053 authored Nov 10, 2024
2 parents 48ced62 + 4225972 commit 137369f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/test/java/de/emilschlampp/scheCPU/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

public class Main {
public static void main(String[] args) throws Throwable {
//Scanner scanner = new Scanner(Main.class.getResourceAsStream("/test.sasm"));
Scanner scanner = new Scanner(Main.class.getResourceAsStream("/simple-loadstrm.sasm"));
String l = "";
while (scanner.hasNextLine()) {
Expand All @@ -27,13 +26,11 @@ public static void main(String[] args) throws Throwable {

String codeR = new Decompiler(code).decompile();

//System.out.println(codeR);

code = new Compiler(codeR).compile();

ProcessorEmulator emulator = new ProcessorEmulator(512, 512, code);
while (emulator.canExecute()) {
emulator.execute();
}
}
}
}

0 comments on commit 137369f

Please sign in to comment.