16 lines
199 B
Text
16 lines
199 B
Text
|
# m32r testcase for srl3 $dr,$sr,#$simm16
|
||
|
# mach(): m32r m32rx
|
||
|
|
||
|
.include "testutils.inc"
|
||
|
|
||
|
start
|
||
|
|
||
|
.global srl3
|
||
|
srl3:
|
||
|
mvi_h_gr r4, 0
|
||
|
mvi_h_gr r5, 6
|
||
|
srl3 r4, r5, #1
|
||
|
test_h_gr r4, 3
|
||
|
|
||
|
pass
|