asked 157k views
3 votes
What is the difference between the subu instruction and the sub instruction? State how will the processor behave differently for these instructions.

asked
User Numlet
by
8.5k points

1 Answer

3 votes

Answer:

The subu instruction are the type of the immediate arithmetic operation which basically give the binary result in the 32 bits that are stored in the destination register.

The subu instruction typically represent as subtract unsigned. It basically check the overflow of the unsigned number.

The sub instruction basically subtracts the second source operand from the principal source operand, and stores the outcome in the goal operand. This instruction basically used in the pseudocode to perform various tasks.

answered
User JabbyPanda
by
9.0k points