delayed control-transfer
delayed control-transfer
(SPARC, programming)Annulled branches are indicated in SPARC assembler language byappending ",A" to the operation code. For example,
LOOP: ...CMP %L0,10BLE,A LOOPADD %L2, %L3, #L4
If the delay instruction is also a control transferinstruction then it gets more complicated. Both controltransfer instructions are executed (but not the followinginstruction) and, assuming they are both taken, control istransferred briefly to the destination of the first and thenimmediately to the destination of the second.