Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2008 08:09:42 -0700 (PDT)
From:      "Izzy K." <rjdfhorn_06@yahoo.com>
To:        freebsd-mips@freebsd.org
Subject:   MIPS...detecting least significant bit.
Message-ID:  <19900967.post@talk.nabble.com>

next in thread | raw e-mail | index | archive | help

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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19900967.post>