2012-09-29 62 views

回答

1

顯然它是彙編器部分的某種語法糖。他們都執行加法,而是si用負數做的:

The si instruction subtracts the 16-bit signed integer specified by the 
SINT parameter from the contents of general-purpose register (GPR) RA and 
stores the result in the target GPR RT. This instruction has the same 
effect as the ai instruction used with a negative SINT value. The 
assembler negates SINT and places this value (SI) in the machine 
instruction: 

    ai RT,RA,-SINT 

來源:si (Subtract Immediate) Instruction

+0

謝謝,我想這是某種彙編的伎倆。 – Rena

1

它們是相同的指令。不同之處在於,在si的情況下,彙編程序更改提供的立即數的符號。

相關問題