diff options
Diffstat (limited to 'sim/testsuite/d30v-elf/ls-ldhu.S')
-rw-r--r-- | sim/testsuite/d30v-elf/ls-ldhu.S | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sim/testsuite/d30v-elf/ls-ldhu.S b/sim/testsuite/d30v-elf/ls-ldhu.S new file mode 100644 index 00000000000..b4f50e2355a --- /dev/null +++ b/sim/testsuite/d30v-elf/ls-ldhu.S @@ -0,0 +1,11 @@ + # compute 254(mem) - 207 = 47 + add r3, r0, 4 || nop + ldhu r2, @(r3,60) + sub r2, r2, 207 + .long 0x0e000004, 0x00f00000 + .long 0, 0 + .long 0, 0 + .long 0, 0 + .long -1, -1 +# address 64 - remember target is BE + .byte 0xff, -2, 0xff, 0xff |