Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged X86

0 votes
591 views
1 answer
    I know that there are libraries that can "parse" binary machine code / opcode to tell the length of an x86-64 CPU ... code? (Maybe even a hack?) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
780 views
1 answer
    I'm trying to divide 859091 by 11 to obtain the quotient and the remainder, but I'm getting Floating Point ... exit div bx exit: leave ret See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
837 views
1 answer
    Assume I want to multiply a large number by another (maybe small) number in assembly. The big number (multiplicand) ... zero! Any idea on that? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I am using RDTSCP to replace LFENCE;RDTSC sequences and also get the processor ID back so that I know ... cpu family first introduced RDTSCP? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
762 views
1 answer
    Will data bus width size change when word size changes? I think that it will change because data bus width is ... also changes. Am I correct? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
620 views
1 answer
    I'm learning the basics of computer security and I'm trying to execute some shellcode I've written. I followed the ... can I get this to work? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
600 views
1 answer
    Could someone help me with this assembly program: First print out numbers 1 to 100. Then follow the rules for the ... 100 jae end inc eax end: See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
996 views
1 answer
    I'm reading the Intel documentation on control registers, but I'm struggling to understand how CR8 register is used. ... discarded, i.e. lost? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
774 views
1 answer
    I am trying to read disk sectors by the following code: disk_load : push dx mov ah , 0x02 ; BIOS read ... in Virtual Box if that matters. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
865 views
1 answer
    For example for hexadecimal numbers we can use 0x98398 or 8790h. How can octal numeric constants be written? Does this work? mov eax, 70o See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
544 views
1 answer
    This question is about terminology for 32-bit vs. 64-bit x86. If I have 2 directories with source code of the ... //en.wikipedia.org/wiki/X86-64 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
774 views
1 answer
    I am learning how to make a bootloader from osdev. I'm using NASM to assemble my code, and a x86 machine to ... a pen drive Thank you so much. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
569 views
1 answer
    I'm writing my own assembler and trying to encode the ADC instruction, I have a question about immediate values ... my approach correct as well? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
790 views
1 answer
    The Intel intrinsics guide states simply that _mm512_load_epi32: Load[s] 512-bits (composed of 16 packed 32-bit ... documentation isn't clear. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    So every single resource online tells me that something like this: cmp %eax, %ebx jg < something > would jump ... other jump statements as well? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
529 views
1 answer
    This relates to this question Thinking about it though, on a modern intel CPU the SEC phase is ... actions are preformed internally. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
527 views
1 answer
    Checkout Edit3 I was getting the wrong results because I was measuring without including prefetch triggered ... 30 offcore_requests.demand_rfo 0.166300952 seconds time elapsed...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
848 views
1 answer
    How to multiply two 64-bit integers by another 2 64-bit integers? I didn't find any instruction which can do it. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
725 views
1 answer
    Chapter 3 of Computer Systems A Programmer's Perspective (2nd Edition) mentions that cltq is equivalent to movslq ... Isn't that redundant? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
869 views
1 answer
    When I do a writemasked AVX-512 store, like so: vmovdqu8 [rsi] {k1}, zmm0 Will the instruction fault ... ability to vmaskmov introduced in AVX. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
776 views
1 answer
    This answer puzzled me. According to the standard C calling conventions, the standard way to call C functions ... would be truly appreciated.) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
567 views
1 answer
    I'm trying to create a function in nasm which, given an array of integers and the length of the array, ... I do not really understand why. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
513 views
1 answer
    I recall that one of the interesting features of the initial P4 micro-architecture was it's double-pumped ... is interesting for optimization. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
442 views
1 answer
    I'm on an IvyBridge. I found the performance behavior of jnz inconsistent in inner loop and outer loop. ... This somehow explains the behavior. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
469 views
1 answer
    Under the total store order(TSO) memory consistency model, a x86 cpu will have a write buffer to buffer write ... order as the issue order? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
953 views
1 answer
    As a small recall, the x86 architecture defines 0x0F 0x1F [mod R/M] as a multi-byte NOP. Now I'm ... effect on multi-byte NOP instructions? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
590 views
1 answer
    The Intel manual optimization (revision September 2019) shows a 48 KiB 8-way associative L1 data cache for the Ice ... me. What am I missing? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have homework to write assembly code for checking if number is odd or even. I have this code code_seg SEGMENT ... ) 1 gives result of 0? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...