Author: greatlrd
Date: Mon Jan 1 16:37:24 2007
New Revision: 25261
URL:
http://svn.reactos.org/svn/reactos?rev=25261&view=rev
Log:
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
Modified:
trunk/rosapps/devutils/cputointel/CpuToIntel.c
trunk/rosapps/devutils/cputointel/cputointel.rbuild
Modified: trunk/rosapps/devutils/cputointel/CpuToIntel.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/devutils/cputointel/CpuToI…
==============================================================================
--- trunk/rosapps/devutils/cputointel/CpuToIntel.c (original)
+++ trunk/rosapps/devutils/cputointel/CpuToIntel.c Mon Jan 1 16:37:24 2007
@@ -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 @@
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 @@
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;
Modified: trunk/rosapps/devutils/cputointel/cputointel.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/devutils/cputointel/cputoi…
==============================================================================
--- trunk/rosapps/devutils/cputointel/cputointel.rbuild (original)
+++ trunk/rosapps/devutils/cputointel/cputointel.rbuild Mon Jan 1 16:37:24 2007
@@ -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>