Skip to content
Snippets Groups Projects
Commit a86340fb authored by jdh8d's avatar jdh8d
Browse files

Updates for movs with sign extend/zero extend. beaEngine seems to have fixed...

Updates for movs with sign extend/zero extend.  beaEngine seems to have fixed this issue, so gen_spri doesn't need to correct the error anymore

Former-commit-id: b860895538fa37a23f4bc37c7be62786a4b8e5eb
parent dd8268e5
No related branches found
No related tags found
No related merge requests found
......@@ -405,6 +405,8 @@ static string emit_spri_instruction(FileIR_t* fileIRp, Instruction_t *newinsn, o
}
else if( disasm.Instruction.Opcode==0xfbf || disasm.Instruction.Opcode==0xfb7 )
{
#if 0
/* this seems to be fixed in beaEngine -r175 */
char* comma=strstr(disasm.CompleteInstr, ",");
assert(comma);
if(strstr(&comma[2], "word [") == NULL) // if it's not a memory operation
......@@ -412,6 +414,7 @@ static string emit_spri_instruction(FileIR_t* fileIRp, Instruction_t *newinsn, o
assert(comma[2]=='e');
comma[2]=' ';
}
#endif
}
else
assert(0); // wtf?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment