]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/testsuite/d10v-elf/t-sp.s
Initial creation of sourceware repository
[thirdparty/binutils-gdb.git] / sim / testsuite / d10v-elf / t-sp.s
1 .include "t-macros.i"
2
3 start
4
5 ;;; Read/Write values to SPU/SPI
6
7 loadpsw2 0
8 ldi sp, 0xdead
9 loadpsw2 PSW_SM
10 ldi sp, 0xbeef
11
12 loadpsw2 0
13 check 1 sp 0xdead
14 loadpsw2 PSW_SM
15 check 2 sp 0xbeef
16
17 exit0