ARMv7: BX, MOV_IMM, IT (ITSTATE register)

This commit is contained in:
Nekotekina 2014-10-31 04:12:07 +03:00
parent de156c59e4
commit 3895c083cb
5 changed files with 239 additions and 49 deletions

View file

@ -18,7 +18,8 @@ void ARMv7Thread::InitRegs()
memset(GPR, 0, sizeof(GPR[0]) * 15);
APSR.APSR = 0;
IPSR.IPSR = 0;
PC |= 1;
ISET = Thumb;
ITSTATE.IT = 0;
SP = m_stack_addr + m_stack_size;
}