它给出一个单字节命令,必须返回由最右边的6位表示的操作数的值作为一个2的补整数。可能的返回值范围从-32到31。当从字节中提取操作数并将其存储为int类型时,请记住,符号展开必须正确执行// Extract an operand (-32..31) from the rightmost 6 bits of a byte.int getOperand(byte b) {