We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5abaf21 commit 36ac597Copy full SHA for 36ac597
src/projetarm_v2/simulator/Main.java
@@ -21,7 +21,7 @@ public static void main(String[] args) {
21
"kek: .asciz \"test\";" +
22
".align;" +
23
"start: ldr r0,=kek;" +
24
- "mov r1,#0xFF04;" +
+ "ldr r1,=0x1F0008;" +
25
"blx r1");
26
27
simulator.run();
src/projetarm_v2/simulator/core/Preprocessor.java
@@ -25,6 +25,7 @@ public static String pass1(String assembly) {
while (matcher.find()) {
assembly = assembly.replaceAll("#"+ matcher.group(1), "#"+matcher.group(2));
28
+ assembly = assembly.replaceAll("="+ matcher.group(1), "="+matcher.group(2));
29
}
30
31
assembly = assembly
0 commit comments