X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2FCyclone%2FOpBranch.cpp;h=63569da199b82b39bfcdadee16fc1019f36974d4;hb=e743be2070a13d14cae39a55b815b62b0edb6776;hp=804aa9163a507234629d69d1ab811bb98c5b7436;hpb=d4789c7cd6fb9d8e63084c16f9a595b27914bb4e;p=picodrive.git diff --git a/cpu/Cyclone/OpBranch.cpp b/cpu/Cyclone/OpBranch.cpp index 804aa91..63569da 100644 --- a/cpu/Cyclone/OpBranch.cpp +++ b/cpu/Cyclone/OpBranch.cpp @@ -5,10 +5,14 @@ static void CheckPc(void) { #if USE_CHECKPC_CALLBACK + #ifdef MEMHANDLERS_DIRECT_PREFIX + ot(" bl %scheckpc ;@ Call checkpc()\n", MEMHANDLERS_DIRECT_PREFIX); + #else ot(";@ Check Memory Base+pc\n"); ot(" mov lr,pc\n"); ot(" ldr pc,[r7,#0x64] ;@ Call checkpc()\n"); ot("\n"); + #endif #endif }