aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cris/asm/movecpc.ms
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/cris/asm/movecpc.ms')
-rw-r--r--sim/testsuite/cris/asm/movecpc.ms19
1 files changed, 19 insertions, 0 deletions
diff --git a/sim/testsuite/cris/asm/movecpc.ms b/sim/testsuite/cris/asm/movecpc.ms
new file mode 100644
index 0000000..880a0f8
--- /dev/null
+++ b/sim/testsuite/cris/asm/movecpc.ms
@@ -0,0 +1,19 @@
+# mach: crisv3 crisv8 crisv10
+# xerror:
+# output: General register * PC is not implemented.\nprogram stopped with signal 5 (*).\n
+
+# We deliberately match both "read from" and "write to" above.
+
+ .include "testutils.inc"
+ startnostack
+ moveq -1,r3
+ move.b 0x42,pc
+ dumpr3
+
+ move.w 0x4321,pc
+ dumpr3
+
+ move.d 0x76543210,pc
+ dumpr3
+
+ quit