1 1.1 christos # cr16 testcase for mulw reg reg 2 1.1 christos # mach(): cr16 3 1.1 christos 4 1.1 christos .include "testutils.inc" 5 1.1 christos 6 1.1 christos start 7 1.1 christos 8 1.1 christos .global mulw 9 1.1 christos mulw: 10 1.1 christos movw $0x1234,r4 11 1.1 christos movw $0x1234,r5 12 1.1 christos 13 1.1 christos mulw r4, r5 14 1.1 christos cmpw $0x5a90, r5 15 1.1 christos beq ok1 16 1.1 christos not_ok: 17 1.1 christos fail 18 1.1 christos 19 1.1 christos ok1: 20 1.1 christos mulw $0x1234, r4 21 1.1 christos test_h_gr r4, 0x5a90 22 1.1 christos 23 1.1 christos pass 24