SSC calls use break immediate 0x80000. 0x80001 only works for

break.i. Ski is rather broken in this respect.
This commit is contained in:
Marcel Moolenaar 2003-02-01 21:38:36 +00:00
parent e6f2748cbc
commit 56eefde13d
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ ssc(u_int64_t in0, u_int64_t in1, u_int64_t in2, u_int64_t in3, int which)
register u_int64_t ret0 __asm("r8");
__asm __volatile("mov r15=%1\n\t"
"break 0x80001"
"break 0x80000"
: "=r"(ret0)
: "r"(which), "r"(in0), "r"(in1), "r"(in2), "r"(in3));
return ret0;

View File

@ -35,7 +35,7 @@ ssc(u_int64_t in0, u_int64_t in1, u_int64_t in2, u_int64_t in3, int which)
register u_int64_t ret0 __asm("r8");
__asm __volatile("mov r15=%1\n\t"
"break 0x80001"
"break 0x80000"
: "=r"(ret0)
: "r"(which), "r"(in0), "r"(in1), "r"(in2), "r"(in3));
return ret0;