Magnus Olsen
0764ca19ac
Fixing a bug in ppc opcode Li
...
Fixing the memory leak bug
Full implement of the Li
Convert Li to my own asm langues, opcode move reg,imm
Left todo is add the anyalying process and converting process, after that we can translate our frist public pe file for ppc to intel
with one opcode, it must be Li
svn path=/trunk/; revision=25447
2007-01-14 10:57:18 +00:00
Magnus Olsen
c96114a82c
start on adding the own langues, this version create a memory leak if u try run this tool in translate mode. but not in
...
disambler mode. (only true for ppc brain about memory leak)
svn path=/trunk/; revision=25445
2007-01-13 23:26:32 +00:00
Magnus Olsen
95c8fa90a8
1. fixing a layout bug
...
2. frist disambler output for public, the public version can now disambler ppc li rA,imm that all at moment
svn path=/trunk/; revision=25444
2007-01-13 22:09:11 +00:00
Magnus Olsen
350c6a32c2
adding GetData32Be, GetData32Le for getting 4bytes from big or lite endian
...
start implment Ld for ppc.
svn path=/trunk/; revision=25440
2007-01-13 17:27:14 +00:00
Magnus Olsen
ad3d7fea36
adding print out the type of asm file in the asm file
...
svn path=/trunk/; revision=25439
2007-01-13 14:34:50 +00:00
Magnus Olsen
9b4a7b1fc5
adding option for disambler mode, disambler mode does not translate a binary file. it doing a disambler of the file
...
svn path=/trunk/; revision=25438
2007-01-13 12:23:25 +00:00
Magnus Olsen
4ffa785260
1. last move is done arm to From folder
...
2. remove some include in CpuToIntel.c file they are not longer need it.
svn path=/trunk/; revision=25436
2007-01-13 10:39:12 +00:00
Magnus Olsen
40bbafca90
Create a folder call From and start move in all cpu we will in futer translate from
...
svn path=/trunk/; revision=25435
2007-01-13 10:27:17 +00:00
Magnus Olsen
40628588f8
1. finish the peloader, left todo add decoder for each sectionheader, add the base address when u call a brain, and some other minior fix
...
2. fix some comment that was wrong.
svn path=/trunk/; revision=25434
2007-01-13 09:56:05 +00:00
Magnus Olsen
2aab0c74eb
backport the start of a pe loader,
...
backport allot of bug fix. like open file, reading file.
My working copy have allot of hacks and is a big mess. This stuff is cleanup from it.
svn path=/trunk/; revision=25433
2007-01-12 21:11:44 +00:00
Magnus Olsen
022849644c
minor changes, for be use later, adding some new data types
...
svn path=/trunk/; revision=25398
2007-01-09 10:53:19 +00:00
Magnus Olsen
fe4dcf7a00
1. starting adding pe loader to cputointel to misc.c
...
2. move the loadimage stuff to own functions to misc.c
3. rewrite so loader call to brain* after it load the image.
4. setup main using the loader
5. add few more input param to main -in, -inexe, -in try autodetect type of file, -inexe try convert a PE file.
svn path=/trunk/; revision=25272
2007-01-02 02:21:58 +00:00
Magnus Olsen
3aa0dd271b
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
2007-01-01 13:37:24 +00:00
Magnus Olsen
791dced4bb
adding a stubed ppc brain, to my cputointel tool
...
svn path=/trunk/; revision=25258
2007-01-01 00:30:58 +00:00
Magnus Olsen
00095b75ef
1. setup input param to main
...
2. implement cpu type flag in dummy and m68k
3. Adding more opcode for m68k, but they are stubed
Time to test the code and start implement m68k in next commit
svn path=/trunk/; revision=25257
2006-12-31 18:45:35 +00:00
Magnus Olsen
6da9503d34
1. Adding a dummycpu showing how you can write you own cpu brain.
...
2. Did make some cleanup work for m68k
svn path=/trunk/; revision=25254
2006-12-31 16:03:07 +00:00
Magnus Olsen
39436f3008
initate work of a CPUtranslator, example M68k to Intel. it is writen so not only M68k can be added. it does not work at all. it is a ground layout how I should code it.
...
svn path=/trunk/; revision=25251
2006-12-31 14:59:07 +00:00