似乎是 取反加一 也就是说要求负数,就是 用对应正数,取反+140000 0100 取反 1111 1011 +1后1111 110030000 0011 取反 1111 1100 +1后1111 1101这种方法叫求补运算.负数转正数,也是进行取反+1 的求补运算负数二进制转十进制,是对这个负数二进制进行求补运算,得到对应的正数,前面加个负号就得到对应的十进制了吧20 0001 0100 进行求补运算 取反1110 1011 +1后1110 1100 这就是-20的二进制-20>>3 算术右移3位1111 1101 变成这个 也就是-3 对应的二进制了因为是负数,左边第一位是1,所以算术右移3位相当于左边加 3个1,右边再减去3位.","force_purephv":"0","gnid":"98b28cc93778a020a","img_data":[{"flag":2,"img":[]}],"novel_author":"","novel_name":"","original":0,"pat":"qgc,mass_adver_offline,art_src_6,otherc,fts0,sts0","powerby":"pika","pub_time":1616765865111,"pure":"","rawurl":"http://zm.news.so.com/5e84b46770a5d49ba976ae572a644254","redirect":0,"rptid":"b2b9a1a8fee46111","src":"健康报警灯","tag":[],"title":"