21 lines
207 B
Text
21 lines
207 B
Text
|
# m32r testcase for subv $dr,$sr
|
||
|
# mach(): m32r m32rx
|
||
|
|
||
|
.include "testutils.inc"
|
||
|
|
||
|
start
|
||
|
|
||
|
.global subv
|
||
|
subv:
|
||
|
mvi_h_condbit 0
|
||
|
mvi_h_gr r4, 0x80000000
|
||
|
mvi_h_gr r5, 3
|
||
|
|
||
|
subv r4, r5
|
||
|
|
||
|
bc ok
|
||
|
|
||
|
fail
|
||
|
ok:
|
||
|
pass
|