mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-23 21:29:28 +00:00
More minute opcode fixes
This commit is contained in:
parent
698a761d15
commit
fada84ca3f
@ -1780,7 +1780,7 @@ void ppc_cmpli(){
|
||||
|
||||
void ppc_crand(){
|
||||
ppc_grab_regsdab();
|
||||
if ((ppc_state.ppc_cr & (0x80000000UL >> reg_a)) & (ppc_state.ppc_cr & (0x80000000UL >> reg_b))){
|
||||
if ((ppc_state.ppc_cr & (0x80000000UL >> reg_a)) && (ppc_state.ppc_cr & (0x80000000UL >> reg_b))){
|
||||
ppc_state.ppc_cr |= (0x80000000UL >> reg_d);
|
||||
}
|
||||
else{
|
||||
@ -1789,7 +1789,7 @@ void ppc_crand(){
|
||||
}
|
||||
void ppc_crandc(){
|
||||
ppc_grab_regsdab();
|
||||
if ((ppc_state.ppc_cr & (0x80000000UL >> reg_a)) & !(ppc_state.ppc_cr & (0x80000000UL >> reg_b))){
|
||||
if ((ppc_state.ppc_cr & (0x80000000UL >> reg_a)) && !(ppc_state.ppc_cr & (0x80000000UL >> reg_b))){
|
||||
ppc_state.ppc_cr |= (0x80000000UL >> reg_d);
|
||||
}
|
||||
else{
|
||||
@ -1807,7 +1807,7 @@ void ppc_creqv(){
|
||||
}
|
||||
void ppc_crnand(){
|
||||
ppc_grab_regsdab();
|
||||
if (!((ppc_state.ppc_cr & (0x80000000UL >> reg_a)) & (ppc_state.ppc_cr & (0x80000000UL >> reg_b)))){
|
||||
if (!((ppc_state.ppc_cr & (0x80000000UL >> reg_a)) && (ppc_state.ppc_cr & (0x80000000UL >> reg_b)))){
|
||||
ppc_state.ppc_cr |= (0x80000000UL >> reg_d);
|
||||
}
|
||||
else{
|
||||
@ -1816,7 +1816,7 @@ void ppc_crnand(){
|
||||
}
|
||||
void ppc_crnor(){
|
||||
ppc_grab_regsdab();
|
||||
if (!((ppc_state.ppc_cr & (0x80000000UL >> reg_a)) | (ppc_state.ppc_cr & (0x80000000UL >> reg_b)))){
|
||||
if (!((ppc_state.ppc_cr & (0x80000000UL >> reg_a)) || (ppc_state.ppc_cr & (0x80000000UL >> reg_b)))){
|
||||
ppc_state.ppc_cr |= (0x80000000UL >> reg_d);
|
||||
}
|
||||
else{
|
||||
@ -1835,7 +1835,7 @@ void ppc_cror(){
|
||||
}
|
||||
void ppc_crorc(){
|
||||
ppc_grab_regsdab();
|
||||
if ((ppc_state.ppc_cr & (0x80000000UL >> reg_a)) | !(ppc_state.ppc_cr & (0x80000000UL >> reg_b))){
|
||||
if ((ppc_state.ppc_cr & (0x80000000UL >> reg_a)) || !(ppc_state.ppc_cr & (0x80000000UL >> reg_b))){
|
||||
ppc_state.ppc_cr |= (0x80000000UL >> reg_d);
|
||||
}
|
||||
else{
|
||||
|
Loading…
Reference in New Issue
Block a user