GP-1837 corrected ARM assembly unit tests

This commit is contained in:
ghidorahrex 2022-04-28 13:53:10 -04:00
parent cbe1ba763a
commit f4190b8d5c
2 changed files with 7 additions and 8 deletions

View file

@ -45,8 +45,8 @@ public class ARMAssemblyTest extends AbstractAssemblyTest {
@Test
public void testAssemble_stmcsda_r2_lr0r1r2r4r6r7r8lc() {
assertOneCompatRestExact("stmdacs r2, {r0 r1 r2 r4 r6 r7 r8}^", "d7:01:42:28",
"stmdacs r2,{r0 r1 r2 r4 r6 r7 r8}^");
assertOneCompatRestExact("stmdacs r2, {r0, r1, r2, r4, r6, r7, r8}^", "d7:01:42:28",
"stmdacs r2,{r0,r1,r2,r4,r6,r7,r8}^");
}
@Test
@ -102,8 +102,7 @@ public class ARMAssemblyTest extends AbstractAssemblyTest {
//@Ignore("This is a whitespace problem")
@Test
public void testAssemble_T_push_r7_lr() {
assertOneCompatRestExact("push { r7, lr }", "80:b5", THUMB, 0x00008000, "push { r7, lr }",
"push { r7, lr }");
assertOneCompatRestExact("push {r7,lr}", "80:b5", THUMB, 0x00008000, "push {r7,lr}");
}
@Test