- carry_res := carry_res + tmp_right_operand;
- oflo2 := add_oflo(l_neg,r_neg,carry_res(gp_register_t'high));
+ -- carry_res := unsigned('0' & left_operand)+addcarry;
+ -- oflo1 := add_oflo(l_neg,'0',carry_res(gp_register_t'high));
+
+ -- if sub = '1' then
+ -- tmp_right_operand := unsigned('0' & complement);
+ -- else
+ -- tmp_right_operand := unsigned('0' & right_operand);
+ -- end if;
+
+ -- l_neg := carry_res(gp_register_t'high);
+ -- r_neg := tmp_right_operand(gp_register_t'high);
+
+ -- carry_res := carry_res + tmp_right_operand;
+ -- oflo2 := add_oflo(l_neg,r_neg,carry_res(gp_register_t'high));