发表于:2013/6/6 23:42:04
#0楼
16位为例:
temp = GRAY
temp1 =temp
for i=0 to 15 then
temp1 = shr(temp1,1)
temp = temp1 xor temp
i = i+1
end for
OUT = temp
temp = GRAY
temp1 =temp
for i=0 to 15 then
temp1 = shr(temp1,1)
temp = temp1 xor temp
i = i+1
end for
OUT = temp
[此贴子已经被作者于2013/6/7 3:03:47编辑过]