fix LBI mask

This commit is contained in:
hap 2015-05-01 18:58:06 +02:00
parent f80fb7bc0b
commit 23d09f8ef8

View File

@ -915,11 +915,11 @@ INSTRUCTION( lbi )
{
if (opcode & 0x80)
{
B = opcode & 0x3f;
B = opcode & 0x7f;
}
else
{
B = (opcode & 0x70) | (((opcode & 0x0f) + 1) & 0x0f);
B = (opcode & 0x30) | (((opcode & 0x0f) + 1) & 0x0f);
}
m_skip_lbi = 1;