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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [cris/] [separator.s] - Diff between revs 816 and 818

Only display areas with differences | Details | Blame | View Log

Rev 816 Rev 818
; Testing separators.  This file should only have nops.  See
; Testing separators.  This file should only have nops.  See
; seperror for constructs that are syntax errors.
; seperror for constructs that are syntax errors.
;
;
 .text
 .text
start:
start:
; Note that the next line is a syntax error.  Should it be?
; Note that the next line is a syntax error.  Should it be?
; nop # moveq 0,r10 -- a comment, not command separator
; nop # moveq 0,r10 -- a comment, not command separator
; The next line is *not* a syntax error.  Should it?
; The next line is *not* a syntax error.  Should it?
 nop; moveq 1,r10
 nop; moveq 1,r10
; The next line is a syntax error.  Maybe it shouldn't.
; The next line is a syntax error.  Maybe it shouldn't.
; nop # moveq 2,r10 -- a comment, not command separator
; nop # moveq 2,r10 -- a comment, not command separator
 nop ; moveq 3,r10
 nop ; moveq 3,r10
; moveq 4,r10
; moveq 4,r10
# moveq 5,r10
# moveq 5,r10
# 123 456 ; not a syntax error, not a line directive.
# 123 456 ; not a syntax error, not a line directive.
end:
end:
 
 

powered by: WebSVN 2.1.0

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