[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MIPS...detecting least significant bit.



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.

_______________________________________________
freebsd-mips_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mips
To unsubscribe, send any mail to "freebsd-mips-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org