diff options
Diffstat (limited to 'sim/testsuite/d30v-elf/ls-ldbu.S')
-rw-r--r-- | sim/testsuite/d30v-elf/ls-ldbu.S | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sim/testsuite/d30v-elf/ls-ldbu.S b/sim/testsuite/d30v-elf/ls-ldbu.S new file mode 100644 index 0000000..153d6a4 --- /dev/null +++ b/sim/testsuite/d30v-elf/ls-ldbu.S @@ -0,0 +1,11 @@ + # compute 254(mem) - 207 = 47 + add r3, r0, 4 || nop + ldbu 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 -2, 0xff, 0xff, 0xff |