Implement the jz instruction.

--HG--
extra : convert_revision : 7c0bd7ce244f724ac03bbb5fdf770c7a3eba78b4
This commit is contained in:
Gabe Black 2007-07-17 15:36:45 -07:00
parent c4004482a5
commit d77d4c04b7
2 changed files with 9 additions and 6 deletions

View file

@ -263,7 +263,7 @@
0x1: jno_Jb();
0x2: jb_Jb();
0x3: jnb_Jb();
0x4: jz_Jb();
0x4: Inst::JZ(Jb);
0x5: jnz_Jb();
0x6: jbe_Jb();
0x7: jnbe_Jb();

View file

@ -53,8 +53,11 @@
#
# Authors: Gabe Black
microcode = ""
#let {{
# class JMP(Inst):
# "GenFault ${new UnimpInstFault}"
#}};
microcode = '''
def macroop JZ_I
{
rdip t1
limm t2, imm
wrip t1, t2, flags=(CZF,)
};
'''