X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=Pico%2Fcarthw%2Fsvp%2Fcompiler.c;h=2db22b1ff0d668e27a0f21145af2f1e7d906d40c;hb=1832075ec7b43b166a9d5f83753832a05e7d4239;hp=911da17956a1bfa7e251824a8f6484aba6724ed0;hpb=2d2247c26080ed9009b3d8c650cfc647fd1fb162;p=picodrive.git diff --git a/Pico/carthw/svp/compiler.c b/Pico/carthw/svp/compiler.c index 911da17..2db22b1 100644 --- a/Pico/carthw/svp/compiler.c +++ b/Pico/carthw/svp/compiler.c @@ -1,3 +1,7 @@ +// SSP1601 to ARM recompiler + +// (c) Copyright 2008, Grazvydas "notaz" Ignotas +// Free for non-commercial use. #include "../../PicoInt.h" #include "compiler.h" @@ -1394,7 +1398,7 @@ static int translate_op(unsigned int op, int *pc, int imm, int *end_cond, int *j } // ldi ri, simm - case 0x0c ... 0x0f: + case 0x0c: case 0x0d: case 0x0e: case 0x0f: tmpv = (op>>8)&7; known_regs.r[tmpv] = op; known_regb |= 1 << (tmpv + 8); @@ -1759,6 +1763,7 @@ void *ssp_translate_block(int pc) fwrite(tcache, 1, (tcache_ptr - tcache)*4, f); fclose(f); } + printf("dumped tcache.bin\n"); exit(0); #endif