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