diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-03-03 14:32:43 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-03-03 14:32:43 +0000 |
commit | 0ecfa9930c7615503ba629a61f7b94a0c3305af5 (patch) | |
tree | e9b87ad13ee9b77cb7c5b5082ad61d877232db7e /ops_template.h | |
parent | ba1c6e37fc5efc0f3d1e50d0760f9f4a1061187b (diff) |
prints hello world
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@17 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'ops_template.h')
-rw-r--r-- | ops_template.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ops_template.h b/ops_template.h index 18b2ffb492..c67fe0fd41 100644 --- a/ops_template.h +++ b/ops_template.h @@ -149,18 +149,18 @@ void OPPROTO glue(op_jb_sub, SUFFIX)(void) src2 = CC_SRC - CC_DST; if ((DATA_TYPE)src1 < (DATA_TYPE)src2) - PC += PARAM1; + PC = PARAM1; else - PC += PARAM2; + PC = PARAM2; FORCE_RET(); } void OPPROTO glue(op_jz_sub, SUFFIX)(void) { if ((DATA_TYPE)CC_DST != 0) - PC += PARAM1; + PC = PARAM1; else - PC += PARAM2; + PC = PARAM2; FORCE_RET(); } @@ -171,18 +171,18 @@ void OPPROTO glue(op_jbe_sub, SUFFIX)(void) src2 = CC_SRC - CC_DST; if ((DATA_TYPE)src1 <= (DATA_TYPE)src2) - PC += PARAM1; + PC = PARAM1; else - PC += PARAM2; + PC = PARAM2; FORCE_RET(); } void OPPROTO glue(op_js_sub, SUFFIX)(void) { if (CC_DST & SIGN_MASK) - PC += PARAM1; + PC = PARAM1; else - PC += PARAM2; + PC = PARAM2; FORCE_RET(); } @@ -193,9 +193,9 @@ void OPPROTO glue(op_jl_sub, SUFFIX)(void) src2 = CC_SRC - CC_DST; if ((DATA_STYPE)src1 < (DATA_STYPE)src2) - PC += PARAM1; + PC = PARAM1; else - PC += PARAM2; + PC = PARAM2; FORCE_RET(); } @@ -206,9 +206,9 @@ void OPPROTO glue(op_jle_sub, SUFFIX)(void) src2 = CC_SRC - CC_DST; if ((DATA_STYPE)src1 <= (DATA_STYPE)src2) - PC += PARAM1; + PC = PARAM1; else - PC += PARAM2; + PC = PARAM2; FORCE_RET(); } |