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