1# mach: cr16
2
3	.include "testutils.inc"
4
5	start
6
7	.global read16
8read16:
9	loadw foo,r1
10	cmpw $42, r1
11	beq ok
12	fail
13ok:
14	pass
15
16foo:
17	.word 42
18