mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
Adding stubed arm4 for my CpuToIntel tool.
Now we got tree diffent arch we can port over to intel x86 asm. But this tool are experment tool svn path=/trunk/; revision=25261
This commit is contained in:
parent
718618b8a1
commit
3aa0dd271b
2 changed files with 8 additions and 1 deletions
|
@ -3,8 +3,9 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "ARM/ARM.h"
|
||||
#include "m68k/m68k.h"
|
||||
#include "ppc/ppc.h"
|
||||
#include "PPC/PPC.h"
|
||||
#include "misc.h"
|
||||
|
||||
int main(int argc, char * argv[])
|
||||
|
@ -21,6 +22,7 @@ int main(int argc, char * argv[])
|
|||
printf(" -cpu m68030 : convert motorala 68030 to intel asm \n");
|
||||
printf(" -cpu m68040 : convert motorala 68040 to intel asm \n");
|
||||
printf(" -cpu ppc : convert PowerPC to intel asm \n");
|
||||
printf(" -cpu ARM4 : convert ARM4 to intel asm \n");
|
||||
printf("--------------------------------------------------------------\n");
|
||||
printf(".......-BaseAddress adr : the start base address only accpect \n");
|
||||
printf("....... dec value");
|
||||
|
@ -71,6 +73,8 @@ int main(int argc, char * argv[])
|
|||
return M68KBrain(infile, outfile, BaseAddress, 68040);
|
||||
else if (stricmp(argv[2],"ppc"))
|
||||
return PPCBrain(infile, outfile, BaseAddress, 0);
|
||||
else if (stricmp(argv[2],"arm4"))
|
||||
return ARMBrain(infile, outfile, BaseAddress, 4);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
|
@ -9,6 +9,9 @@
|
|||
<file>CpuToIntel.c</file>
|
||||
<file>misc.c</file>
|
||||
|
||||
<file>ARM/ARMBrain.c</file>
|
||||
<file>ARM/ARMopcode.c</file>
|
||||
|
||||
<file>m68k/M68kBrain.c</file>
|
||||
<file>m68k/M68kopcode.c</file>
|
||||
|
||||
|
|
Loading…
Reference in a new issue