19 lines
198 B
Text
19 lines
198 B
Text
|
# cr16 testcase for jmp (regp)
|
||
|
# mach(): cr16
|
||
|
|
||
|
.include "testutils.inc"
|
||
|
|
||
|
start
|
||
|
|
||
|
.global jmp
|
||
|
jmp:
|
||
|
movd $ok1, (r4,r3)
|
||
|
jump (r4,r3)
|
||
|
fail
|
||
|
ok1:
|
||
|
movd $ok2, (r4,r3)
|
||
|
jump (r4,r3)
|
||
|
fail
|
||
|
ok2:
|
||
|
pass
|