1 .code 2 .align 4 3; Basic immediate instruction tests. 4; 5; We could/should test some of the corner cases for register and 6; immediate fields. We should also check the assorted field 7; selectors to make sure they're handled correctly. 8 subi 123,%r5,%r6 9 subi,= 123,%r5,%r6 10 subi,< 123,%r5,%r6 11 subi,<= 123,%r5,%r6 12 subi,<< 123,%r5,%r6 13 subi,<<= 123,%r5,%r6 14 subi,sv 123,%r5,%r6 15 subi,od 123,%r5,%r6 16 subi,tr 123,%r5,%r6 17 subi,<> 123,%r5,%r6 18 subi,>= 123,%r5,%r6 19 subi,> 123,%r5,%r6 20 subi,>>= 123,%r5,%r6 21 subi,>> 123,%r5,%r6 22 subi,nsv 123,%r5,%r6 23 subi,ev 123,%r5,%r6 24 25 subio 123,%r5,%r6 26 subio,= 123,%r5,%r6 27 subio,< 123,%r5,%r6 28 subio,<= 123,%r5,%r6 29 subio,<< 123,%r5,%r6 30 subio,<<= 123,%r5,%r6 31 subio,sv 123,%r5,%r6 32 subio,od 123,%r5,%r6 33 subio,tr 123,%r5,%r6 34 subio,<> 123,%r5,%r6 35 subio,>= 123,%r5,%r6 36 subio,> 123,%r5,%r6 37 subio,>>= 123,%r5,%r6 38 subio,>> 123,%r5,%r6 39 subio,nsv 123,%r5,%r6 40 subio,ev 123,%r5,%r6 41 42 subi,tsv 123,%r5,%r6 43 subi,tsv,= 123,%r5,%r6 44 subi,tsv,< 123,%r5,%r6 45 subi,tsv,<= 123,%r5,%r6 46 subi,tsv,<< 123,%r5,%r6 47 subi,tsv,<<= 123,%r5,%r6 48 subi,tsv,sv 123,%r5,%r6 49 subi,tsv,od 123,%r5,%r6 50 subi,tsv,tr 123,%r5,%r6 51 subi,tsv,<> 123,%r5,%r6 52 subi,tsv,>= 123,%r5,%r6 53 subi,tsv,> 123,%r5,%r6 54 subi,tsv,>>= 123,%r5,%r6 55 subi,tsv,>> 123,%r5,%r6 56 subi,tsv,nsv 123,%r5,%r6 57 subi,tsv,ev 123,%r5,%r6 58