forked from Imagelibrary/binutils-gdb
Added a couple of tests.
This commit is contained in:
16
sim/testsuite/sim/m32r/xor.cgs
Normal file
16
sim/testsuite/sim/m32r/xor.cgs
Normal file
@@ -0,0 +1,16 @@
|
||||
# m32r testcase for xor $dr,$sr
|
||||
# mach(): m32r m32rx
|
||||
|
||||
.include "testutils.inc"
|
||||
|
||||
start
|
||||
|
||||
.global xor
|
||||
xor:
|
||||
|
||||
mvi_h_gr r4, 3
|
||||
mvi_h_gr r5, 6
|
||||
xor r4, r5
|
||||
test_h_gr r4, 5
|
||||
|
||||
pass
|
||||
Reference in New Issue
Block a user