Home | History | Annotate | Download | only in cris
      1 ;
      2 ; There are actually two regressions tested here:
      3 ; - That a .byte does not overwrite beyond the "byte", if given
      4 ;   a non-immediate-constant value (related to "False broken words").
      5 ; - That "quick-operands" (in this case, just the unsigned 6-bit
      6 ;   one is tested) can take "difference-expressions".
      7 ;
      8  .text
      9  .syntax no_register_prefix
     10 start:
     11  .dword 0xf0+b-a-0xc5
     12  .byte 0xf0+b-a-0xc7
     13  .byte 0xab
     14  move.b 0xf0+b-a-0xca,r8
     15  move.w 0xf0+b-a-0xcb,r8
     16  subq 0xf0+b-a-0xcf,r3
     17  .ascii "Hello, world\n\0"
     18  .space 260,0
     19 a:
     20  .dword 0
     21 b:
     22  .dword 1
     23