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 at, zero, 0 20 rdprs r2, zero, 0 21 rdprs r4, zero, 0 22 rdprs r8, zero, 0 23 rdprs r16, zero, 0 24 rdprs zero, at, 0 25 rdprs zero, r2, 0 26 rdprs zero, r4, 0 27 rdprs zero, r8, 0 28 rdprs zero, r16, 0 29