x86-64
Creating a buffer in a nasm macro?
As you might guess, I\'m new to this (both nasm and assembly, though I\'ve done some basic assembly before).[详细]
2023-03-26 10:34 分类:问答GAS: jmp to label results in wrong jump?
I am trying to assembly following program: .text .globl _search2 _se开发者_JAVA百科arch2: pushq%rbp movq%rsp, %rbp[详细]
2023-03-25 10:02 分类:问答Function call cost
The application I am dealing with right now uses some brute-force numerical algorithm that calls many tiny functions billions of times. I was wanderi开发者_Python百科ng how much the performance can be[详细]
2023-03-25 05:52 分类:问答Direction/Sign Extend bit in the encoding of an x86 opcode
In the x86 instruction set the the bit at index 1 of an opcode can either be the direction bit which specifies what the destination and source operands are or it can be a sign extend bit.[详细]
2023-03-25 01:49 分类:问答CLI/C++ DLL wraps unmanaged DLL, crashed at run time in .NET (ieshims.dll and gpsvc.dll missing)
I have inherited an unamanged DLL (originally built from C code) and want to use it in a .NET project. I have header files which wrap the DLL\'s functionality in a C++ type object, it is this object-o[详细]
2023-03-22 23:41 分类:问答How to save the registers on x86_64 for an interrupt service routine?
I am looking at some old code from a school project, and in trying to compile it on my laptop I ran into some problems. It was originally written for an old 32 bit version of gcc. Anyway I was trying[详细]
2023-03-22 22:19 分类:问答int32 len = va_args(va, int32) gives very large value on x86_64 GNU/Linux
void AppBuf(message_id_type msgID, int32 numPairs, va_list va) { int32 len = va_args(va, int32); .... } The above piece of code runs perfectly fine on windows (32 and 64 bit) and also on linux 32 b[详细]
2023-03-21 20:11 分类:问答Multi core environment drivers
Does ev开发者_如何学Cery core has same IDTR,GDTR and LDTR values? (I think they can be different.) Are cores synched up for privilege instructions?I will try to answer your first question: Each core h[详细]
2023-03-19 23:32 分类:问答Is mov %esi, %esi a no-op or not on x86-64?
I am a bit confused by the comment in one of the header files for the Linux kernel, arch/x86/include/asm/nops.h. It states that[详细]
2023-03-19 05:46 分类:问答Why is the compilation of my (x86->64) windows cross compiler failing?
I\'m trying to build a cross-compiler (x86->64) on my windows system, with the aim of targetting windows 64, however my software currently relies on open source libraries which also have open source d[详细]
2023-03-18 01:37 分类:问答