|
|
|
@ -91,7 +91,7 @@ def test_arm_simple_branch(qemu_assembly_run):
|
|
|
|
" 0x200f0 <end> mov r0, #0 R0 => 0\n"
|
|
|
|
" 0x200f0 <end> mov r0, #0 R0 => 0\n"
|
|
|
|
" 0x200f4 <end+4> mov r7, #0xf8 R7 => 0xf8\n"
|
|
|
|
" 0x200f4 <end+4> mov r7, #0xf8 R7 => 0xf8\n"
|
|
|
|
" 0x200f8 <end+8> svc #0 <SYS_exit_group>\n"
|
|
|
|
" 0x200f8 <end+8> svc #0 <SYS_exit_group>\n"
|
|
|
|
" 0x200fc andeq r3, r0, r1, asr #32\n"
|
|
|
|
" 0x200fc andeq r1, r0, r1, asr #18\n"
|
|
|
|
"────────────────────────────────────────────────────────────────────────────────\n"
|
|
|
|
"────────────────────────────────────────────────────────────────────────────────\n"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
@ -301,7 +301,7 @@ def test_arm_implicit_branch_ldr(qemu_assembly_run):
|
|
|
|
" 0x200c0 <end+4> mov r7, #0xf8 R7 => 0xf8\n"
|
|
|
|
" 0x200c0 <end+4> mov r7, #0xf8 R7 => 0xf8\n"
|
|
|
|
" 0x200c4 <end+8> svc #0 <SYS_exit_group>\n"
|
|
|
|
" 0x200c4 <end+8> svc #0 <SYS_exit_group>\n"
|
|
|
|
" 0x200c8 <end+12> strheq r0, [r2], -r12\n"
|
|
|
|
" 0x200c8 <end+12> strheq r0, [r2], -r12\n"
|
|
|
|
" 0x200cc andeq r3, r0, r1, asr #32\n"
|
|
|
|
" 0x200cc andeq r1, r0, r1, asr #18\n"
|
|
|
|
"\n"
|
|
|
|
"\n"
|
|
|
|
"\n"
|
|
|
|
"\n"
|
|
|
|
"\n"
|
|
|
|
"\n"
|
|
|
|
@ -325,7 +325,7 @@ def test_arm_implicit_branch_ldr(qemu_assembly_run):
|
|
|
|
" 0x200c0 <end+4> mov r7, #0xf8 R7 => 0xf8\n"
|
|
|
|
" 0x200c0 <end+4> mov r7, #0xf8 R7 => 0xf8\n"
|
|
|
|
" 0x200c4 <end+8> svc #0 <SYS_exit_group>\n"
|
|
|
|
" 0x200c4 <end+8> svc #0 <SYS_exit_group>\n"
|
|
|
|
" 0x200c8 <end+12> strheq r0, [r2], -r12\n"
|
|
|
|
" 0x200c8 <end+12> strheq r0, [r2], -r12\n"
|
|
|
|
" 0x200cc andeq r3, r0, r1, asr #32\n"
|
|
|
|
" 0x200cc andeq r1, r0, r1, asr #18\n"
|
|
|
|
"\n"
|
|
|
|
"\n"
|
|
|
|
"\n"
|
|
|
|
"\n"
|
|
|
|
"\n"
|
|
|
|
"\n"
|
|
|
|
@ -438,7 +438,7 @@ def test_arm_cmp_instructions(qemu_assembly_run):
|
|
|
|
" 0x200d0 <end> mov r0, #0 R0 => 0\n"
|
|
|
|
" 0x200d0 <end> mov r0, #0 R0 => 0\n"
|
|
|
|
" 0x200d4 <end+4> mov r7, #0xf8 R7 => 0xf8\n"
|
|
|
|
" 0x200d4 <end+4> mov r7, #0xf8 R7 => 0xf8\n"
|
|
|
|
" 0x200d8 <end+8> svc #0 <SYS_exit_group>\n"
|
|
|
|
" 0x200d8 <end+8> svc #0 <SYS_exit_group>\n"
|
|
|
|
" 0x200dc andeq r3, r0, r1, asr #32\n"
|
|
|
|
" 0x200dc andeq r1, r0, r1, asr #18\n"
|
|
|
|
"\n"
|
|
|
|
"\n"
|
|
|
|
"\n"
|
|
|
|
"\n"
|
|
|
|
"────────────────────────────────────────────────────────────────────────────────\n"
|
|
|
|
"────────────────────────────────────────────────────────────────────────────────\n"
|
|
|
|
|