This commit is contained in:
MITSUNARI Shigeo 2013-03-13 14:02:00 +09:00
parent 4ea82aa4ba
commit bbbb042a7e
2 changed files with 2 additions and 0 deletions

View file

@ -441,6 +441,7 @@ void put()
} tbl[] = { } tbl[] = {
// only 64-bit mode(from) // only 64-bit mode(from)
{ "cdqe", B01001000, B10011000 }, { "cdqe", B01001000, B10011000 },
{ "cqo", 0x48, 0x99 },
{ "@@@" }, /// here { "@@@" }, /// here
// only 32-bit mode(from) // only 32-bit mode(from)
{ "aaa", B00110111 }, { "aaa", B00110111 },

View file

@ -274,6 +274,7 @@ void jg(const char *label, LabelType type = T_AUTO) { opJmp(label, type, 0x7F, 0
void setg(const Operand& op) { opR_ModM(op, 8, 0, 0x0F, B10010000 | 15); } void setg(const Operand& op) { opR_ModM(op, 8, 0, 0x0F, B10010000 | 15); }
#ifdef XBYAK64 #ifdef XBYAK64
void cdqe() { db(0x48); db(0x98); } void cdqe() { db(0x48); db(0x98); }
void cqo() { db(0x48); db(0x99); }
#else #else
void aaa() { db(0x37); } void aaa() { db(0x37); }
void aad() { db(0xD5); db(0x0A); } void aad() { db(0xD5); db(0x0A); }