X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fcr16%2Fpic2.d;fp=gas%2Ftestsuite%2Fgas%2Fcr16%2Fpic2.d;h=deacee4017de49daafdb7ca21db7730b2b39f2d2;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/cr16/pic2.d b/gas/testsuite/gas/cr16/pic2.d new file mode 100644 index 0000000..deacee4 --- /dev/null +++ b/gas/testsuite/gas/cr16/pic2.d @@ -0,0 +1,18 @@ +#as: +#objdump: -dr +#name: pic2 + +.*: +file format .* + +Disassembly of section .text: + +00000000 <_main>: + 0: 12 00 0c 90 loadd 0x0:l\(r12\),\(r1,r0\) + 4: 00 00 + 0: R_CR16_GOT_REGREL20 _text_pointer + 6: 12 00 0c 90 loadd 0x0:l\(r12\),\(r1,r0\) + a: 00 00 + 6: R_CR16_GOTC_REGREL20 _text_address_1 + +0000000c <_text_address_1>: + c: ee 0a jump \(ra\)