Add in MOV instructions.

--HG--
extra : convert_revision : 54a6b36dff3c15699faf2c767fc594359422c0ee
This commit is contained in:
Gabe Black 2007-06-12 16:31:42 +00:00
parent eb68c9986e
commit ea3f7c9531
2 changed files with 9 additions and 5 deletions

View file

@ -237,10 +237,10 @@
0x7: xchg_Ev_Gv(); 0x7: xchg_Ev_Gv();
} }
0x11: decode OPCODE_OP_BOTTOM3 { 0x11: decode OPCODE_OP_BOTTOM3 {
0x0: MOV(); 0x0: Inst::MOV(Eb,Gb);
0x1: MOV(); 0x1: Inst::MOV(Ev,Gv);
0x2: MOV(); 0x2: Inst::MOV(Gb,Eb);
0x3: MOV(); 0x3: Inst::MOV(Gv,Eb);
0x4: mov_MwRv_Sw(); //What to do with this one? 0x4: mov_MwRv_Sw(); //What to do with this one?
0x5: lea_Gv_M(); 0x5: lea_Gv_M();
0x6: mov_Sw_MwRv(); 0x6: mov_Sw_MwRv();

View file

@ -53,7 +53,11 @@
# #
# Authors: Gabe Black # Authors: Gabe Black
microcode = "" microcode = '''
def macroop MOV{
mov "env.reg", "env.reg", "env.regm"
};
'''
#let {{ #let {{
# class MOV(Inst): # class MOV(Inst):
# "Mov ^0 ^0 ^1" # "Mov ^0 ^0 ^1"