intel

x86-64 Arrays Inputting and Printing

妖精的绣舞 提交于 2019-12-12 01:59:15
问题 I'm trying to input values into an array in x86-64 Intel assembly, but I can't quite figure it out. I'm creating an array in segement .bss. Then I try to pass the address of the array along to another module by using r15. Inside that module I prompt the user for a number that I then insert into the array. But it doesn't work. I'm trying to do the following segment .bss dataArray resq 15 ; Array that will be manipulated segment .text mov rdi, dataArray ; Store memory address of array so the

how many instructions can be stored in instruction queue of 8086 microprocessor?

一世执手 提交于 2019-12-11 16:47:11
问题 I think,since memory of intel microprocessors is byte organized and size of instruction queue is 4 bytes,the answer would be 4 instructions? 回答1: The 8086 and 8088 chips have prefetch queues. These stored a number of bytes pre-fetched from the memory "ahead" of the instruction pointer (and code segment). This allows the processor to do something "useful" in what otherwise would have been an idle bus cycles. The 8088 prefetch queue was four bytes deep. The 8086 queue was six bytes deep. Again,

Physical core and Logical cores on diffrent cpu AMD/Intel

白昼怎懂夜的黑 提交于 2019-12-11 16:45:35
问题 Can anyone confirm that for example Intel I3 CPU has 2 physical cores and 4 logical cores, so if I set Process afinity to Core #0 so that means I set on first physical cores 1 logical core, but if I set on Core #1 so it means I set on first physical core 1 HyperThreading core, but how about AMD CPU since they got somekind of "modules" atleast what I read on internet, how to work with amd cpus? And does intel ALWAYS has this come physical core contains 1 logical and 1 HT core? How about AMD

Eclipse Luna and JavaFX. How do I update my processor's driver on Windows Vista 32-bit?

眉间皱痕 提交于 2019-12-11 15:36:52
问题 I am running Windows Vista on a32-bit processor. I am trying to launch a JavaFX program I compiled on Eclipse Luna with Java 1.8. The result is the following runtime error. Device "Mobile Intel(R) 4 Series Express Chipset Family" (\.\DISPLAY1) initialization failed : WARNING: bad driver version detected, device disabled. Please update your driver to at least version 8.15.10.2302 How do I get rid of the error? Thanks. 回答1: The Chipset for your processor isn't updated, you can find drivers here

Does CS:IP use the MSROM?

别来无恙 提交于 2019-12-11 14:25:54
问题 Does CS:IP use the MSROM? Because it needs to decode to an instruction that checks the segment cache to see whether or not it is present and instructions to read the segment base from the cache, otherwise it jumps to instructions that fetch it from memory and perform the address calculation. Otherwise I suppose it could be done by the AGU and it gets decoded to something that the AGU recognises. If this were the case then the AGU would have to have the ability to insert loads in the load

Calling a C function in assembly [duplicate]

徘徊边缘 提交于 2019-12-11 12:39:28
问题 This question already has answers here : Calling C functions from x86 assembly language (2 answers) Closed 5 years ago . Despite I searched everywhere I couldn't find any solution to my problem.The problem is that I I defined a function "hello_world() " in a C file "hello.c" and I want to call this function in an assembly file . "hello_assembly.asm" .Can anyone help me ? Thank you. 回答1: You could check the below example which might give some idea. \#include <stdio.h> int main(void) { signed

Is leaq THAT slow or there is another reason smaller assembly listing is slower than the longer one?

对着背影说爱祢 提交于 2019-12-11 10:55:34
问题 I do not know any real assembly, but can read GCC -S output to evaluate actual costs of given C code. This question is not that much about profiling and benchmarks, but rather educational. I need someone to explain me why [1] snippet is not faster than the second one. Well, used to think like: "yeah, some operations like MUL are pretty expensive, but if one assembly is X times bigger than another, it should be slower". This was quite true until I have met those two: unsigned char bytes[4] =

Intel DPDK Compilation Error

こ雲淡風輕ζ 提交于 2019-12-11 10:08:02
问题 I'm having problem in compiling the Intel DPDK on my Fedora and I really need that. This is what I have in my terminal: [gois@localhost dpdk-1.5.2r1]$ make install T=i686-default-linuxapp-gcc ================== Installing i686-default-linuxapp-gcc == Build scripts == Build scripts/testhost == Build lib == Build lib/librte_eal == Build lib/librte_eal/common == Build lib/librte_eal/linuxapp == Build lib/librte_eal/linuxapp/igb_uio make: *** /lib/modules/3.11.10-301.fc20.x86_64/build: File or

HAXM gone after latest SDK update

你。 提交于 2019-12-11 08:47:29
问题 Ouch. I was using HAXM with Android versoin 19 quite fine. Project team wanted to use Android 18. I fell back. Now, HAXM no longer shows in AVD manager to add an AVD nor in Android Targets for project settings. Well, I can point my SDK to an old (oct 2013 release of adt) sdk and haxm is there and works. So, I totally reinstalled the ADT (20140321 version). That STILL doesn't have HAXM. Re-installed HAXM, just in case. Anyone figure this out yet: how to get HAXM (x86 target) to show up with

QML: Garbled text with colorful pixels around it on Intel GPU

笑着哭i 提交于 2019-12-11 08:17:03
问题 Screenshot of one of the Qt Creator example apps: My videocard is a Mobile Intel(R) 4 Series Express Chipset Family . Any idea what the problem might be? 回答1: The solution was to call either: QGuiApplication::setAttribute(Qt::AA_UseOpenGLES); or QGuiApplication::setAttribute(Qt::AA_UseSoftwareOpenGL); before instantiating QGuiApplication . I don't know exactly why it worked :) 来源: https://stackoverflow.com/questions/39081028/qml-garbled-text-with-colorful-pixels-around-it-on-intel-gpu