OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [cris/] [diffexp-ovwr.s] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
;
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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.