sh-dis/tests/muls.s

26 lines
437 B
ArmAsm

.global _start
_start:
mov.l .L0a,r0
mov.l .L1a,r1
muls.w r0,r1 /* macl 0xffff5556 */
mov.l .L0b,r0
mov.l .L1b,r1
muls.w r0,r1 /* macl 0x0001b058 */
mov.l .L0c,r0
mov.l .L1c,r1
muls.w r0,r1 /* macl 0xfa9a3058 */
.align 4
.L0a:
.long 0xfffffffe
.L1a:
.long 0x00005555
.L0b:
.long 0xffff0005
.L1b:
.long 0x12345678
.L0c:
.long 0xfffff005
.L1c:
.long 0x12345678