《考研 计算机 组成原理移码加法运算》由会员分享,可在线阅读,更多相关《考研 计算机 组成原理移码加法运算(2页珍藏版)》请在金锄头文库上搜索。
1、1移码加减运算移码加减运算1 1 1 1、移码意义、移码意义在数轴上表示在数轴上表示-16-16-16-16 到到 1515151532323232 个数值。把原点位置左移到个数值。把原点位置左移到-16-16-16-16 处,数值的关系未变。处,数值的关系未变。 而且数值之间的大小关系非常直观,不需根据符号判断大小。而且数值之间的大小关系非常直观,不需根据符号判断大小。2 2 2 2、移码定义、移码定义-2-2-2-2 N N N N = = = = 0X0X0X0XXXX移移XXXX补补0111101111011110111111111111111111111111011110111101
2、111011110111001110011100111011110111101111011110011100111001110011100110101101011010110111101111011110111101011010110101101011010110001100011000110011100111001110011100011000110001100011000101101011010110101111011110111101111011010110101101011010110101001010010100101011010110101101011010010100101001
3、010010100100101001010010100111001110011100111001010010100101001010010100001000010000100011000110001100011000010000100001000010000011100111001110011110111101111011110111001110011100111001110011000110001100011010110101101011010110001100011000110001100010100101001010010110101101011010110101001010010100
4、101001010010000100001000010010100101001010010100001000010000100001000001100011000110001110011100111001110011000110001100011000110001000010000100001010010100101001010010000100001000010000100000100001000010000110001100011000110001000010000100001000010000000000000000000010000100001000010000000000000000
5、00000000X0X0X0X0XXXX移移XXXX补补1111111111111111111111111111011101110111011111011011011011101110111011100110011001100110101101101101110111011101110101010101010101011001001001001100110011001100010001000100010001101101101110111011101110110011001100110011010010010010101010101010101000100010001000100010010010011001100110011001000100010001000100000000000010001000100010000000000000000000