Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // C bitwise lecture examples
- #include <stdio.h>
- int main()
- { int x,y; //to extract register RS from MIPS r-format
- printf("0x%X \n", y = 0x8d080005 << 6);
- printf("0x%X \n", y >> 27);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment