Skip to content

Commit

Permalink
+ opcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
DnCraptor committed Dec 11, 2023
1 parent c7835c2 commit 9280c71
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2646,7 +2646,7 @@ void exec86(uint32_t execloops) {
CPU_CX = pop();
CPU_AX = pop();
break;

//case 0x62: /*JB alias*/ ??
case 0x62: /* 62 BOUND Gv, Ev (80186+) */
modregrm();
getea(rm);
Expand Down Expand Up @@ -2844,7 +2844,7 @@ void exec86(uint32_t execloops) {
ip = ip + temp16;
}
break;

//case 0x62: /*JB alias*/
case 0x72: /* 72 JB Jb */
temp16 = signext(getmem8(CPU_CS, ip));
StepIP(1);
Expand All @@ -2853,23 +2853,23 @@ void exec86(uint32_t execloops) {
}
break;

case 0x63: /*JNB alias*/
case 0x73: /* 73 JNB Jb */
temp16 = signext(getmem8(CPU_CS, ip));
StepIP(1);
if (!cf) {
ip = ip + temp16;
}
break;

case 0x64: /*JE alias*/
case 0x74: /* 74 JZ Jb */
temp16 = signext(getmem8(CPU_CS, ip));
StepIP(1);
if (zf) {
ip = ip + temp16;
}
break;
case 0x64: /*JE alias*/
//case 0x74: /*JE*/

case 0x65: /*JNE alias*/
case 0x75: /* 75 JNZ Jb */
temp16 = signext(getmem8(CPU_CS, ip));
Expand Down

0 comments on commit 9280c71

Please sign in to comment.