repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
loongson buffer overflow
[binutils-gdb.git]
/
sim
/
testsuite
/
example-synacor
/
testutils.inc
blob
0f286c6036ca24d6f81043be80abd4c9d234a9c4
1
.include "isa.inc"
2
3
# MACRO: pass
4
# Write 'pass' to stdout and quit
5
.macro pass
6
OUT 'p'
7
OUT 'a'
8
OUT 's'
9
OUT 's'
10
OUT '\n'
11
HALT
12
.endm
13
14
# MACRO: fail
15
# Write 'fail' to stdout and quit
16
.macro fail
17
OUT 'f'
18
OUT 'a'
19
OUT 'i'
20
OUT 'l'
21
OUT '\n'
22
HALT
23
.endm
24
25
# MACRO: start
26
# All assembler tests should start with a call to "start"
27
.macro start
28
.text
29
.global _start
30
_start:
31
.endm