FreeCalypso > hg > freecalypso-reveng
comparison arm7dis/armdis.c @ 95:9ed4d0fcb1f6
armdis: swp decoding implemented
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 30 Mar 2014 07:21:21 +0000 |
parents | 915e2ca2813d |
children | fb5ea2758482 |
comparison
equal
deleted
inserted
replaced
94:915e2ca2813d | 95:9ed4d0fcb1f6 |
---|---|
203 word&0x200000 ? "mla" : "mul", | 203 word&0x200000 ? "mla" : "mul", |
204 condition_decode[word>>28], | 204 condition_decode[word>>28], |
205 word&0x100000 ? "s" : "", | 205 word&0x100000 ? "s" : "", |
206 regnames[(word>>12)&0xF], regnames[(word>>16)&0xF], | 206 regnames[(word>>12)&0xF], regnames[(word>>16)&0xF], |
207 regnames[word&0xF], regnames[(word>>8)&0xF]); | 207 regnames[word&0xF], regnames[(word>>8)&0xF]); |
208 else if ((word & 0x0FB00FF0) == 0x01000090) | |
209 printf("swp%s%s\t%s, %s, [%s]\n", condition_decode[word>>28], | |
210 word&0x400000, "b", "", regnames[(word>>12)&0xF], | |
211 regnames[word&0xF], regnames[(word>>16)&0xF]); | |
208 else | 212 else |
209 printf("<invalid multiply>\n"); | 213 printf("<invalid multiply>\n"); |
210 } | 214 } |
211 | 215 |
212 static int | 216 static int |