Home > other >  MIPS32 instruction set subtraction operation, the new post for the first time, appeal for help for h
MIPS32 instruction set subtraction operation, the new post for the first time, appeal for help for h

Time:03-24

As shown in figure:
For operation types for SUB and SUBU, I always don't understand,

For example: if reg1_i register (1) value is 10, and the corresponding binary code is 0000, 1010 if reg2_i register (2) value is 6, the corresponding binary code is 0000, 0110 at this time do sub or subu operation will reg2_i register (2) the value of each invert + 1 1111 1010 at this time again and again reg1_i register (1) the value of the addition of 0000 1010 0000 0100 or 4 so that I can read
But!!!!!! But!!!!!!!!!! But!!!!!! Keep reg1_i (1) register values, will reg2_i to change the value of - 6, the corresponding binary code do subtraction operation for 1000 and 0110 at this time, will register values you take 2 + 1, so I can not calculate out!!!!!!!!!!

Specific code is the location of the circle on the drawing, please everyone a great god help the younger brother to solve, the first post, please help!!!!!! Bothers me two or three days! ,! Thank you very much!
[face] monkey2:019 PNG [/face] [face] monkey2:019 PNG [/face] [face] monkey2:019 PNG [/face] [face] monkey2:019 PNG [/face] [face] monkey2:019 PNG [/face] [face] monkey2:019 PNG [/face] [face] monkey2:019 PNG [/face]

  • Related