Esempio n. 1
0
static void printMemOffs32(MCInst *MI, unsigned OpNo, SStream *O)
{
    SStream_concat(O, "dword ptr ");

    // If this has a segment register, print it.
    // this is a hack. will fix it later
    if (MI->x86_segment) {
        SStream_concat(O, "%s:", X86_reg_name(1, MI->x86_segment));
    }

    printMemOffset(MI, OpNo, O);
}
Esempio n. 2
0
static void printMemOffs64(MCInst *MI, unsigned OpNo, SStream *O)
{
	MI->x86opsize = 8;
	printMemOffset(MI, OpNo, O);
}
static void printMemOffs64(MCInst *MI, unsigned OpNo, SStream *O)
{
	SStream_concat0(O, "qword ptr ");
	MI->x86opsize = 8;
	printMemOffset(MI, OpNo, O);
}
static void printMemOffs8(MCInst *MI, unsigned OpNo, SStream *O)
{
	SStream_concat0(O, "byte ptr ");
	MI->x86opsize = 1;
	printMemOffset(MI, OpNo, O);
}
Esempio n. 5
0
static void printMemOffs64(MCInst *MI, unsigned OpNo, SStream *O)
{
    SStream_concat(O, "qword ptr ");
    printMemOffset(MI, OpNo, O);
}
static void printMemOffs64(MCInst *MI, unsigned OpNo, SStream *O)
{
	printMemOffset(MI, OpNo, O);
}