summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/sh64/compact/brk.cgs
blob: 9908072456596f35df941dcf446d958eb5d19eec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# sh testcase for brk -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32

	.include "compact/testutils.inc"

	start
	.global brk
brk:
	# If we hit the breakpoint, the sim will stop.
	pass

	# FIXME: breakpoint instruction.
	# The SH4 assembler doesn't know about "brk".
	.word 0x003b
bad:
	fail