18 lines
184 B
Text
18 lines
184 B
Text
# cr16 testcase for subw $sr,$dr
|
|
# mach(): cr16
|
|
|
|
.include "testutils.inc"
|
|
|
|
start
|
|
|
|
.global subw
|
|
subw:
|
|
|
|
movw $0x1234, r4
|
|
movw $0x1111, r5
|
|
|
|
subw r5, r4
|
|
|
|
test_h_gr r4, 0x123
|
|
|
|
pass
|