Skip to content

Commit

Permalink
update PSEMU/CPU.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Cherrytree56567 committed Oct 6, 2023
1 parent cce8ef4 commit 51e7198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PSEMU/CPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ uint16_t imm_s = (uint)(int16_t)imm;
//err
}

void op_bcond(instruction){
void CPU::op_bcond(instruction){
uint8_t rs = (instruction >> 21) & 0x1F; // Extract bits 25 to 21
uint8_t rt = (instruction >> 16) & 0x1F; // Extract bits 20 to 16
uint16_t imm = instruction & 0xFFFF; // Extract the immediate value
Expand Down

0 comments on commit 51e7198

Please sign in to comment.