mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-08-06 10:25:27 +00:00
Simplify SUBF and remove not_this.
This commit is contained in:
@@ -164,7 +164,6 @@ extern uint32_t rot_sh;
|
||||
extern uint32_t rot_mb;
|
||||
extern uint32_t rot_me;
|
||||
extern uint32_t uimm;
|
||||
extern uint32_t not_this;
|
||||
extern uint32_t grab_sr;
|
||||
extern uint32_t grab_inb; //This is for grabbing the number of immediate bytes for loading and storing
|
||||
extern uint32_t ppc_to;
|
||||
|
@@ -29,7 +29,6 @@ uint32_t xercon;
|
||||
uint32_t cmp_c;
|
||||
uint32_t crm;
|
||||
uint32_t uimm;
|
||||
uint32_t not_this;
|
||||
uint32_t grab_sr;
|
||||
uint32_t grab_inb; //This is for grabbing the number of immediate bytes for loading and storing
|
||||
uint32_t ppc_to;
|
||||
@@ -448,8 +447,7 @@ void ppc_addzeodot() {
|
||||
|
||||
void ppc_subf() {
|
||||
ppc_grab_regsdab();
|
||||
not_this = ~ppc_result_a;
|
||||
ppc_result_d = not_this + ppc_result_b + 1;
|
||||
ppc_result_d = ppc_result_b - ppc_result_a;
|
||||
ppc_store_result_regd();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user