git-svn-id: http://svn.purei.org/purei/trunk@148 b36208d7-6611-0410-8bec-b1987f11c4a2

This commit is contained in:
jpd002 2007-04-23 06:40:16 +00:00
parent c47accb9f0
commit 1205201c88
13 changed files with 128 additions and 25 deletions

View file

@ -297,6 +297,12 @@ void CMIPSAssembler::SLLV(unsigned int nRD, unsigned int nRT, unsigned int nRS)
m_pPtr++;
}
void CMIPSAssembler::SLTIU(unsigned int nRT, unsigned int nRS, uint16 nImmediate)
{
(*m_pPtr) = ((0x0B) << 26) | (nRS << 21) | (nRT << 16) | nImmediate;
m_pPtr++;
}
void CMIPSAssembler::SLTU(unsigned int nRD, unsigned int nRS, unsigned int nRT)
{
(*m_pPtr) = (nRS << 21) | (nRT << 16) | (nRD << 11) | 0x2B;