Closed ChristianMoesl closed 5 years ago
Let's include bitwise NOT (~
) as well. Its precedence is interesting.
~
should be mapped to XORI
RISC-V.
Ok, I am on it. 👍
Thanks! This is a cool assignment. It challenges the students to take what they learned for bitwise shifting one step further.
Bitwise AND/OR operators should be added to the C* language and emulator support for the corresponding RISC-V instruction should be provided.
This test should verify: