MIPS...detecting least significant bit.

Izzy K. rjdfhorn_06 at yahoo.com
Thu Oct 9 15:32:23 UTC 2008

I'm working on an assignment and have reached a road block. If I have a 16
bit integer like: 

0000 0000 0000 0100

how would I check to see what the value in the LEAST significant bit is?
Basically, how would I check to see if the least significant bit is 0 or 1?
How would I code it? I am a beginner at MIPS...is there a simple instruction
that detects this? Please help me. 

View this message in context: http://www.nabble.com/MIPS...detecting-least-significant-bit.-tp19900967p19900967.html
Sent from the freebsd-mips mailing list archive at Nabble.com.

More information about the freebsd-mips mailing list