]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/testsuite/d10v-elf/t-rac.s
Initial creation of sourceware repository
[thirdparty/binutils-gdb.git] / sim / testsuite / d10v-elf / t-rac.s
1 .include "t-macros.i"
2
3 start
4
5 ;; clear FX
6 loadpsw2 0x8004
7 loadacc2 a0 0x80 0x0000 0x0000
8 loadacc2 a1 0x00 0x0000 0x5000
9 load r10 0x0123
10 load r11 0x4567
11 test_rac1:
12 RAC r10, a0, #-2
13 checkpsw2 1 0x8008
14 check2w2 2 r10 0x8000 0x0000
15
16 exit0