mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
17 lines
202 B
Plaintext
17 lines
202 B
Plaintext
|
# m32r testcase for sra $dr,$sr
|
||
|
# mach(): m32r m32rx
|
||
|
|
||
|
.include "testutils.inc"
|
||
|
|
||
|
start
|
||
|
|
||
|
.global sra
|
||
|
sra:
|
||
|
|
||
|
mvi_h_gr r4, 0xf0f0f0ff
|
||
|
mvi_h_gr r5, 4
|
||
|
sra r4, r5
|
||
|
test_h_gr r4, 0xff0f0f0f
|
||
|
|
||
|
pass
|