Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int ALUOP(int opcode)
- {
- switch(opcode)
- {
- case 1:
- case 2: return 0b00;
- case 3:
- case 4:
- case 5: return 0b01;
- default: retunr 0b10;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement