aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/example-synacor/not.s
blob: 8a4a570ce6e00cb8336e5f000604997e792f8714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# check the NOT insn.
# mach: example

.include "testutils.inc"

	start
	JMP 3
	HALT

	SET r2, 0xc
	NOT r0, r2
	EQ r3, r0, 0x7ff3
	JF r3, 2

	pass