x86
Out of Order Execution and Memory Fences
I know开发者_开发百科 that modern CPUs can execute out of order, However they always retire the results in-order, as described by wikipedia.[详细]
2023-04-03 06:48 分类:问答"Cannot load VDM IPX/SPX support" when running assembly program
When I try to run an x86 assembly language (built using MASM) program on Windows XP, I get the following error in the command prompt:[详细]
2023-04-02 18:24 分类:问答GCC 4.3/4.4 vs MSC 6 on i386 optimization for size fail
I am not sure what am I doing wrong, but I\'ve tried reading manuals about calling conventions of GCC and found nothing useful there. My current problem is GCC generates excessively LARGE code for a v[详细]
2023-04-02 15:41 分类:问答call subroutines conditionally in assembly
I\'m learning x86 assembly. I was wondering how you perform call a subroutine conditionally. As far as I understand, jumping to 开发者_如何学Goa label doesn\'t work because the return address is not s[详细]
2023-04-02 15:11 分类:问答Writing and learning assembly on a Mac
I recently decided that I wanted to try learning how to program in assembly. Having a 2011 model MBP, I was 开发者_如何学Gonot able to find much info on how to write and execute assembly code on my co[详细]
2023-04-02 11:20 分类:问答Weird results with movzwl, %ax and negative values
Alright, so I am dealing with the following snippet of code: push%ebp mov%esp,%ebp push%ebx mov0x8(%ebp),%eax[详细]
2023-04-02 10:21 分类:问答What kind of knowledge is required to program a simple safe working boot sector?
I know knowledge of 开发者_JAVA技巧assembly is the very first thing needed (which I have), and I also know that Boot Sector code tells the processor to boot/execute a program (or OS), but what I don\'[详细]
2023-04-02 02:14 分类:问答How to get a "backtrace" (like gdb) using only ptrace (linux, x86/x86_64)
I want to get a backtrace-like output as gdb does. But I want to do this via ptrace() directly. My platform is Linux, x86; and, later x86_64.[详细]
2023-04-01 18:12 分类:问答CPUID: Why must MISC_ENABLE.LCMV be set to 0 for some functions? Can I temporarily overwrite it?
I\'m trying to use CPUID, but there are some strings attached.According to sandpile.org\'s CPUID page, CPUID standard functions 0000_0004h and up will only work if the MISC_ENABLE.LCMV flag is set to[详细]
2023-04-01 17:57 分类:问答How do I extract x86 related files from kernel source code?
I am trying to create a cscope index for x86 kernel source files only. I need to know what files may be needed to work with just x86 source开发者_运维百科 code.[详细]
2023-04-01 11:48 分类:问答