Commit 7e9e4330 authored by Edgar E. Iglesias's avatar Edgar E. Iglesias
Browse files

microblaze: Fix 3rd addkc arg when rd is r0

Signed-off-by: default avatarEdgar E. Iglesias <>
parent 40cbf5b7
......@@ -238,8 +238,7 @@ static void dec_add(DisasContext *dc)
write_carry(dc, ncf);
} else {
gen_helper_addkc(cf, cpu_R[dc->ra], *(dec_alu_op_b(dc)),
gen_helper_addkc(cf, cpu_R[dc->ra], *(dec_alu_op_b(dc)), cf);
write_carry(dc, cf);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment