cch123 / blog_comment

comments of xargin.com
8 stars 0 forks source link

Go 系列文章6: syscall #74

Open cch123 opened 6 years ago

cch123 commented 6 years ago

http://xargin.com/syscall/

contestjia commented 4 years ago

大佬,请问,这个“CMPQ AX, $0xfffffffffffff001,是 linux MAX_ERRNO 取反 转无符号", MAX_ERRNO应该是4095,这个是怎么取反转过去的了?

cch123 commented 4 years ago

@contestjia ,https://bbs.csdn.net/topics/390903726

contestjia commented 4 years ago

@

@cch123 @contestjia ,https://bbs.csdn.net/topics/390903726

多谢,明白了,就是-MAX_ERRNO,误以为是^MAX_ERRNO,按位取反