Click here to Skip to main content
15,886,007 members
Everything / x86

X86

x86

Great Reads

by Gregory Morse
UTM based on mov is Turing-complete paper x86 and x86-64
by Dev Leader
Are you excited to get your Myo armband from Thalmic Labs? If you're a C# developer, then check out this open source library to help you control your Myo! The post appeared first on http://www.DevLeader.ca.
by Thomas Daniels
This article will show how to create a simple but complete WoA-native Windows Forms application.
by Android on Intel
Porting Guide for Unity Game on Intel® Architecture for China Market

Latest Articles

by Sarthak S
Assembly inspection and hacking with windbg
by Sarthak S
Assembly inspection and hacking with windbg
by Dawid Borycki
This article demonstrates how to use Arm64EC in a C++ application. The application you will implement performs the multiplication of two pseudo-randomly generated square matrices.
by Thomas Daniels
This article will show how to create a simple but complete WoA-native Windows Forms application.

All Articles

Sort by Score

x86 

5 Feb 2017 by Gregory Morse
UTM based on mov is Turing-complete paper x86 and x86-64
6 Oct 2014 by Dev Leader
Are you excited to get your Myo armband from Thalmic Labs? If you're a C# developer, then check out this open source library to help you control your Myo! The post appeared first on http://www.DevLeader.ca.
24 Aug 2021 by Thomas Daniels
This article will show how to create a simple but complete WoA-native Windows Forms application.
1 Sep 2015 by Sergey Alexandrovich Kryukov
Please see my comment to the question.The idea is: you can switch the task with the instructions JMP or CALL, and it can happen by hardware interrupts. The essence of things in not in the switch instruction, but in what's the interpretation of the target address of this instructions. So,...
9 Jul 2015 by OriginalGriff
"how do you store a 11 byte data into 1 byte memory?":laugh:You don't.db allocates bytes, not just a byte - so if you use msg db 'Hello, world!',0xathen it will allocate an area for an fourteen character string with the data filled in, not a single byte. The label msg will contain...
9 Jul 2015 by F-ES Sitecore
msg db "ABC"the above places "ABC" at that memory address and that memory address is labelled as "msg". So if my code is at memory address 10000 then the following assemblymsg db "ABC"NOPwill result in10000 A10002 B10004 C10006 00 (00 being the NOP)Memory address...
3 Aug 2016 by Richard MacCutchan
buffer: db 'hello, world'times 64-$+buffer db '_'Assume the location of buffer is 1000, then the location of times (identified by the $ sign) is 1012.So:64 - 1012 = -948-948 + 1000 = 52The expression effectively calculates the number of dashes to add to the previous string to...
16 May 2018 by OriginalGriff
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action. And 3 lines of C code does not count...
16 May 2018 by Patrice T
Quote: X86 assembly sorting problem What problem do you have on this HomeWork ? We do not do your HomeWork. HomeWork is not set to test your skills at begging other people to do your work, it is set to make you think and to help your teacher to check your understanding of the courses you have...
23 Nov 2022 by CodeSie Programming
I am using NASM on Windows, and was following a tutorial. maxofthree.asm: global _maxofthree section .text _maxofthree: mov eax, [esp+4] mov ecx, [esp+8] mov edx, [esp+12] cmp eax, ecx cmovl ...
23 Nov 2022 by k5054
your subroutine in asm file is _maxofthree, but your C program is looking for maxofthree, with no leading underscore. You should be able to get a clean link if you change the name of one or the other.
7 Oct 2014 by C-P-User-3
Somebody is asking me about a WDT (WatchDog Timer) on an x86 machine running Linux.I've never heard of it. (On other chips, yes, but not on the x86)Do I need the extra education ? Or does he ?
1 Sep 2015 by codeprojectddx
I have been confused about this for a long time.As i know ,the thread switch is achieved by windows because of the cpu's support,but i actually donot know the mechanish.Hope a little help .thank you .
1 Oct 2015 by Android on Intel
Porting Guide for Unity Game on Intel® Architecture for China Market
28 Oct 2015 by Marcus Steinbauer
Is there a possibility to create a Microsoft Access File with a x64 application?Before switching to x64 I used the Interop.ADOX.dll (v4.0.30319). But there is no 64bit version of the ADOX.dll.Are there other ways to create an acceess file?ThanksMarcus
2 Nov 2015 by Leo Chapiro
This article means, it is possible with x64 version:Quote:The ACE providers (ACE DAO, ACE OLE DB or ACE ODBC) for Access 2007 product are available only in 32-bit. The ACE providers for Access 2010 product are available in both 32-bit and 64-bit editions.Basically, there are three...
10 Nov 2015 by Marcus Steinbauer
are there open source solutions?
3 Aug 2016 by deck_bsd
Hello,Somebody can explain me these lines ?buffer: db 'hello, world'times 64-$+buffer db '_'result : "hello, world____________________________________________________"I understand these lines below, it makes sense (addresse where we stand minus addresse of the beginning of...
4 Sep 2017 by tranthuyet
I have a window application (Visual Studio 2008/C#), It work fire when built by platform Any CPU, but when I try built by platform x86 was errors: "The type or namespace name 'Controls' does not exist in the namespace 'DevComponents.DotNetBar' (are you missing an assembly reference?) Pls help...
4 Sep 2017 by Dave Kreskowiak
I don't know about the DevComponents library, but it would appear that your reference to this library is 64-bit only. Either remove the reference and re-add it to the 32-bit library, or contact DevComponents for support on the issue.
19 Oct 2017 by Rick York
Firstly, I see no reason to use asm in there at all. Everything you are doing can be done in C. To your question, you have a do-while loop there getting the data and counting how much you have. Why can't you make another do-while loop to output the data? One more thing - you have this tagged...
19 Oct 2017 by Richard MacCutchan
for (i = 0; items[i] != 0; i++) // for each entry in the array { int j; for (j = 0; j
19 Oct 2017 by Rick York
Lose the second for loop with the variable j. There is no need for that. Also, there is no need for this to be inline assembler. That is all C code.
19 Oct 2017 by OriginalGriff
Take the lines which switch you into and output assembler out of your C code: __asm Looking at your previous question: How do I print a certain number of stars in C programming?[^] I'd say you don't need any assembler - you only ever need it for very specific things you can't do in C - and a...
19 Oct 2017 by OriginalGriff
I'd start by preserving your assembler variables across the call to printChar: what happens if the C code uses ebx?
19 Oct 2017 by Richard MacCutchan
I showed you how to do it in your original question at How do I print a certain number of stars in C programming?[^]. If you want it in assembler then you just need to convert the C code sample I provided.
21 Oct 2017 by OriginalGriff
mov esi, [items] //esi points to start of 'numItems' ('items' points to address of 'numItems') Since when? Look at your code. Where does items get set to numitmes? In all seriousness, if you want to learn assembler, then I'd strongly suggest you dump the c stuff completely and use a "pure"...
12 May 2018 by CPallini
Did you see this: Is there a C compiler that targets the 8086? - Stack Overflow[^]? You may also choose to translate yourself the C program (if it is a simple one).
7 Oct 2019 by OriginalGriff
Inplace reverse is simple: loop through the number of elements divided by two. Swap the (first + the loop index value) with the (last - the loop index value) printing your course will already have covered. We are more than willing to help those that are stuck: but that doesn't mean that we are...
12 Oct 2019 by g0dafk
Let's take for eg. the address 010h and register DS. How can i access their values? I have a function that prints numbers as a binary code ( because that's what i want ). I want to print the content as a binary and decimal code. Leave alone the decimal code, i will figure that out later. How...
20 Apr 2020 by Dave Kreskowiak
Google is your friend. We're not here to answer your homework questions for you.
20 Apr 2020 by OriginalGriff
We are more than willing to help those that are stuck: but that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us...
28 Jan 2021 by DoingWork
I have 2 Textbox in Custom User Control. First TextBox's Text property is Bind to Str Property in DataContext While Seconds TextBox's Text property is assigned HARD-CODED Text. Target Platform is set to x64. Problem is that, with x64-bit, At...
7 Nov 2021 by Rick York
I would read this page closely and follow its examples : MIPS Assembly Language Examples[^]
22 May 2023 by Dawid Borycki
This article demonstrates how to use Arm64EC in a C++ application. The application you will implement performs the multiplication of two pseudo-randomly generated square matrices.
6 Nov 2023 by Bob Blake from Unknown
I am planning to build a game engine that operates at a very low level without any abstractions and to do so, I was going to use NASM X86/X64. Is this a good choice or should I use a higher level language? I want to get the pros and cons of...
5 Nov 2023 by Dave Kreskowiak
You do know that Windows abstracts all the hardware from application code, right? You would have to go through DirectX to do anything with the hardware, but even DirectX is another abstraction layer.
14 Jan 2024 by Tushar Sondhi
I am getting the error saying "libgbm_mesa_wrapper (SHARED_LIBRARIES) android-x86" missing libgbm_mesa (SHARED_LIBRARIES android-x86)" in my AOSP project while I am trying to build it for x86 platform. I did try to set...
29 Sep 2014 by Ben M Watson
Understand exactly what happens during object allocation in .NET, why it's extremely efficient in the common case, and how to trigger slower code paths
31 May 2023 by Sarthak S
Assembly inspection and hacking with windbg
22 Jan 2017 by Kewin Rausch
How an application performs metamorphism to adapt and survive in an "hostile" environment.
16 Jan 2018 by codestarman
This project describes an X86 assembler IDE for the MAC developed using JavaFX. The starting point was an X86 emulator developed by the author in C++, which was subsequently ported to C#.
28 Jan 2021 by Lyandor
set the first textbox's binding mode to TwoWay and UpdateSourceTrigger to PropertyChanged. Binding Mode TwoWay makes the View communicate to and fro with the property in ViewModel. Setting UpdateSourceTrigger to PropertyChanged makes changes are...
5 Jun 2023 by Sarthak S
Assembly inspection and hacking with windbg
16 May 2018 by Member 13831057
Build a software project made of individual modules as shown in the diagram on one of the following pages. The diagram shows the calling hierarchy. It does not show the sequence of calls. The sequence (ordering) of execution can be derived from the sample execution on the next page. Sample...
7 Nov 2021 by ubutu2334
General conversion from C language to assembly MIPS if(condition) { clause1 } else { clause2 } Thanks What I have tried: condition clause2 j end then: clause1 end: How should I convert without a specific condition?
12 Apr 2023 by User 13703492
Hi all Does anyone if it is possible to convert C source code into 16-bit 8086 assembly (for use with EMU8086)? Thanks What I have tried: Tried using the assembly code emitted by Visual Studio but it is 32-bit and won't work.
9 Jul 2015 by 0xF4
I have a major doubt it would be good if it is cleared.I am just writing what I know, please correct me if I am wrong.A 32bit register can hold 32bits or 4 bytes of data only, but when I write and execute the statement msg db 'Hello, world!',0xamov ecx,msgHow is it that it is...
19 Oct 2017 by Member 13474080
I want the computer to analyse what I have written and print the number of asterisks corresponding to the number inputted. I can only manage a piece of code that can read what I have inputted. I can't use arrays but can use loop instructions like jnz and conditional instructions like cmp. What...
19 Oct 2017 by Member 13474080
I am getting this error: inline assembler syntax error in 'opcode'; found '(' I don't know where I have gone wrong. What I have tried: The code is: for (i = 0; items[i] != 0; i++) { for (j = 0; j
21 Oct 2017 by Member 13477225
I have managed to print a row of stars but when I try to print another row from a new value, it creates an infinite loop. It stops at 0. I want to use x86 assembly and I am using visual studio. example input: 1 5 8 0 output: * ***** ******** What I have tried: #include "stdafx.h" #include...
7 Oct 2019 by chaserex
Use a loop with indirect or indexed addressing to reverse the elements of an integer array in place and display the modified array (calling the DumpMem method from the Irvine32 library). Do not copy the elements to any other array. Use the SIZEOF, TYPE, and LENGTHOF operators to make the program...
28 Mar 2021 by Alessandro Dima
I am new to assembly and I have to write this program. The title says: Write a program in assembly 8086 language that ask the user to input a number. If the character read is '0' it executes a + 3, otherwise if it is '1' it executes a-3...