1# Source file used to test the rdprs instruction 2 3.set noat 4 5foo: 6 rdprs zero, zero, 0 7 rdprs zero, zero, 1 8 rdprs zero, zero, 2 9 rdprs zero, zero, 4 10 rdprs zero, zero, 8 11 rdprs zero, zero, 16 12 rdprs zero, zero, 32 13 rdprs zero, zero, 64 14 rdprs zero, zero, 128 15 rdprs zero, zero, 256 16 rdprs zero, zero, 512 17 rdprs zero, zero, 1024 18 rdprs zero, zero, 2048 19 rdprs zero, zero, 4096 20 rdprs zero, zero, 8192 21 rdprs zero, zero, 16384 22 rdprs zero, zero, -32768 23 rdprs at, zero, 0 24 rdprs r2, zero, 0 25 rdprs r4, zero, 0 26 rdprs r8, zero, 0 27 rdprs r16, zero, 0 28 rdprs zero, at, 0 29 rdprs zero, r2, 0 30 rdprs zero, r4, 0 31 rdprs zero, r8, 0 32 rdprs zero, r16, 0 33