Initial revision
[binutils.git] / gas / testsuite / gas / hppa / basic / immed.s
blobdd27d2fe03aabc72ce6fd6926bcc76980e48efca
1 .SPACE $PRIVATE$
2 .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
3 .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82
4 .SPACE $TEXT$
5 .SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44
6 .SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
8 .SPACE $TEXT$
9 .SUBSPA $CODE$
11 .align 4
12 ; Basic immediate instruction tests.
14 ; We could/should test some of the corner cases for register and
15 ; immediate fields. We should also check the assorted field
16 ; selectors to make sure they're handled correctly.
17 immediate_tests:
18 ldo 5(%r26),%r26
19 ldil L%0xdeadbeef,%r26
20 addil L%0xdeadbeef,%r5