如何在汇编中连接两个寄存器? SPARC

时间:2015-10-13 04:02:51

标签: assembly multiplication sparc

我希望将两个寄存器合并为一个单元。我正在通过添加和移位来学习新的乘法。那么这是一种错误的做法吗?

1stmul:
        set     0x04ee67b7,     %l1     !multiplicand 
        set     0x072e8b8c,     %l2     !multiplier
        clr     %l0                     !product      
        addx    %l0, %l2, %l2           !combining two units?

0 个答案:

没有答案