Implement Sqrt

This commit is contained in:
Jeffrey Pfau 2013-05-01 00:27:31 -07:00
parent 6ed3c18afd
commit 2e9a64a26e
1 changed files with 3 additions and 0 deletions

View File

@ -122,6 +122,9 @@ void GBASwi16(struct ARMBoard* board, int immediate) {
gba->cpu.gprs[3] = abs(result.quot);
}
break;
case 0x8:
gba->cpu.gprs[0] = sqrt(gba->cpu.gprs[0]);
break;
case 0xB:
_CpuSet(gba);
break;