如何将快速的两个(可变大小)内存区域作为二进制进行比较?
int compare (void *a,void *b,size_t size){
...
}
// reg1 > reg2
reg1 = 00001000000000000000000000000000000000000000 (binary);
reg2 = 00000100000000000000000000000000000000000000 (binary);
if (compare(reg1,reg2,32) > 0){
return true;
}else{
return false;
};