Core: Add x86 asm opcode Jnp

This commit is contained in:
zilmar 2024-01-04 12:31:26 +10:30
parent 91a8a828d7
commit 23cff4d7c5
2 changed files with 7 additions and 0 deletions

View File

@ -299,6 +299,12 @@ void CX86Ops::JneLabel(const char * LabelName, asmjit::Label & JumpLabel)
jne(JumpLabel);
}
void CX86Ops::JnpLabel(const char * LabelName, asmjit::Label & JumpLabel)
{
AddSymbol(stdstr_f("L%d", JumpLabel.id()).c_str(), LabelName);
jnp(JumpLabel);
}
void CX86Ops::JnsLabel(const char * LabelName, asmjit::Label & JumpLabel)
{
AddSymbol(stdstr_f("L%d", JumpLabel.id()).c_str(), LabelName);

View File

@ -55,6 +55,7 @@ public:
void JlLabel(const char * LabelName, asmjit::Label & JumpLabel);
void JmpLabel(const char * LabelName, asmjit::Label & JumpLabel);
void JneLabel(const char * LabelName, asmjit::Label & JumpLabel);
void JnpLabel(const char * LabelName, asmjit::Label & JumpLabel);
void JnsLabel(const char * LabelName, asmjit::Label & JumpLabel);
void JnzLabel(const char * LabelName, asmjit::Label & JumpLabel);
void JoLabel(const char * LabelName, asmjit::Label & JumpLabel);