In my class we are translating C to MIPS.
We are asked to translate this snippet:
A = A ? B : C[0]
I believe I understand the ternary operator, but what is wanted here? Shouldn't A be a boolean? So would it be represented in MIPS with a 1 or 0 value?
Thank you