17 lines
170 B
Text
17 lines
170 B
Text
|
# cr16 testcase for addw $sr,$dr
|
||
|
# mach(): cr16
|
||
|
|
||
|
.include "testutils.inc"
|
||
|
|
||
|
start
|
||
|
|
||
|
.global addw
|
||
|
addw:
|
||
|
|
||
|
movw $0x1234,r4
|
||
|
addw $0x1234,r4
|
||
|
|
||
|
test_h_gr r4, 0x2468
|
||
|
|
||
|
pass
|