diff --git a/examples/naive/armv7m/loop_vmov_cmp.s b/examples/naive/armv7m/loop_vmov_cmp.s new file mode 100644 index 00000000..0086c91d --- /dev/null +++ b/examples/naive/armv7m/loop_vmov_cmp.s @@ -0,0 +1,12 @@ +/* For example, r5 represents an address where we will stop iterating and r6 is +the actual pointer which is incremented inside the loop. */ + +mov.w r6, #0 +add.w r5, r6, #64 +vmov s0, r5 + +start: + add r6, r6, #4 + vmov r5, s0 + cmp r6, r5 + bne start \ No newline at end of file