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] - Rev 38

Go to most recent revision | Compare with Previous | Blame | View Log

;
; There are actually two regressions tested here:
; - That a .byte does not overwrite beyond the "byte", if given
;   a non-immediate-constant value (related to "False broken words").
; - That "quick-operands" (in this case, just the unsigned 6-bit
;   one is tested) can take "difference-expressions".
;
 .text
 .syntax no_register_prefix
start:
 .dword 0xf0+b-a-0xc5
 .byte 0xf0+b-a-0xc7
 .byte 0xab
 move.b 0xf0+b-a-0xca,r8
 move.w 0xf0+b-a-0xcb,r8
 subq 0xf0+b-a-0xcf,r3
 .ascii "Hello, world\n\0"
 .space 260,0
a:
 .dword 0
b:
 .dword 1
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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