我在我的书中有这样的问题,我已经做了检查我的自我,但我不知道正确的答案,没有任何解释。c语言的逻辑运算符misunderestanding
它有两个部分 “A” 和 “B”
a) A = B & C[0]
b) A = A ? B : C[0]
C[0] = 0x000
A = 0x00000000
B = 0x00002222
它想从我这
1)what is the result of A
2) the MIPS instruction for each part
3)show the bit level representation of each in structure.
感谢
的 '&' 是按位和,而不是一个逻辑运算符。 B和C的起始值是什么? (他们是0x1234和0x2222?)你可以从中找出答... – Starkey 2010-11-26 13:43:37