URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 816 |
Rev 818 |
; Test that strings are evaluated as in the manual (slightly modified).
|
; Test that strings are evaluated as in the manual (slightly modified).
|
; FIXME: This should be a generic test. Note that this will
|
; FIXME: This should be a generic test. Note that this will
|
; fail if the parsing "\x20a" fails to recoignize this as " a".
|
; fail if the parsing "\x20a" fails to recoignize this as " a".
|
.text
|
.text
|
start:
|
start:
|
.ascii "This\0x20is a\040string\x20with\x20a \"newline\" at the 'end'"
|
.ascii "This\0x20is a\040string\x20with\x20a \"newline\" at the 'end'"
|
.ascii "Megatroid\n", "AX-Foo\r\n"
|
.ascii "Megatroid\n", "AX-Foo\r\n"
|
end:
|
end:
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.