Most voted "x86" questions
x86 is an instruction set of the Intel 8086 CPU-based computer microprocessor architecture series. This tag should be used for code problems that depend on this architecture.
Learn more…25 questions
Sort by count of
-
33
votes2
answers844
viewsMemory Position Array
I’m doing an implementation of a game on Assembly in the Proteus. I draw two random numbers from 1 to 99 and need to generate on the LCD an image referring to the numbers I generated. Example: If I…
-
13
votes1
answer560
viewsProblems decoding Assembly x86 from binary
I have written a program whose goal is to read a binary executable file compiled for the x86 (intel) architecture and interpret the Assembly code contained therein by executing instruction by…
-
9
votes1
answer138
viewsSwitching from 16 to 64 bits while booting an Intel PC compatible
Some time ago I studied to create a draft operating system for Intel PC compatible computers, which actually didn’t need to do much, besides putting the computer in 32-bit mode, handle keyboard…
-
8
votes1
answer881
viewsMapping video card memory to access via Intel compatible x86 processor
Thinking of Intel compatible x86 computers, without considering the facilities provided by modern operating systems, anyone who wants to draw/write something on the computer screen can access some…
-
6
votes1
answer356
viewsDevelop for x86 and x64 platforms
More and more operating systems are prioritizing the "version" 64bits, with this, developing applications for this architecture becomes increasingly attractive. Based on this scenario, I ask what…
-
4
votes1
answer293
viewsAssembly compatibility and architectures
I have no experience with low-level Assembly language. What is required to obtain the maximum of cross Platform with that language? I mean, if I just focus on AMD64 (x86-64) I’ll get compatibility…
-
4
votes1
answer1832
viewsHow to Make a Simple Assembly Assembler
I’m learning about processor architecture and I intend to assemble an Assembler. What is the procedure and steps for writing a program that transforms written code into machine code? The assembler…
-
4
votes1
answer2375
viewsHow to compile this code in Assembly on Windows?
I was seeing a creation of a basic window on Assembly that displays a message, already installed the compiler NASM but error to compile. .386 .MODEL FLAT, STDCALL INCLUDE windows.inc INCLUDE…
-
3
votes2
answers371
viewsFirst application: Xamarin
I am programmed c# and I need to do a project for android and searching found the Xamarin... I did the installation only that I am not able to compile the project... both in visual studio and in…
-
3
votes1
answer1901
viewsMOD in Assembly
I need to make a comparison to see if the number X is PAR or ODD. I store the number in the AX register. How do I know that AX content is even or odd? Note: I store a number from 1 to 99.…
-
2
votes1
answer319
viewsHow to make a simple Hello World using C conventions?
Knowing a little of the conventions in C and the generalization of code that it can provide us, I tried to implement my "Hello World": global main extern printf section .data helloworld db 'Hello…
-
2
votes1
answer610
viewsHow to handle the FPU stack in the x86 Assembly using NASM and functions in c?
I’m trying to do this operation (y = 0.299*red + 0.587*green + 0.114*blue) in Assembly mode protected nasm integrating c with Assembly in windows, but regardless of the input values the result is…
-
2
votes1
answer189
viewsWhy does a program compiled for Linux not run on Windows?
Well, we know that Linux and Windows run on x86 architecture but why a program made for Linux does not run on Windows? Since Windows is multi-architecture, a program made for Windows that runs on…
-
2
votes0
answers86
views -
1
votes0
answers473
viewsInsert values from 0 to 15 on the keyboard in Assembly fasm x86
Good. I have to do a program on Assembly that reads a number from the keyboard that is to choose a color in video mode. From 0 to 9 I know that’s so: mov ah, 40h ;Pedir um valor mov bx, 1 mov cx, 44…
-
1
votes1
answer1582
viewsAssign value to a variable in Assembly 8086
I have the variable: simbolo db "0 $" and I also have the following function:: read_keyboard: mov ah, 1 int 21h ret Which is a simple interruption that reads from the telado, and saves what was read…
-
1
votes0
answers44
viewsError and Warning when changing the Anycpu platform to x64
I had a problem, which, when trying to capture 64 Bites processes on x86 platform, an exception error occurred. I managed to solve it by creating an application 64 and a 32 Bites. I packed all the…
-
1
votes0
answers423
views -
1
votes2
answers892
viewsHow to convert lowercase string to uppercase in Assembly?
I made this code that reads a sentence and determines whether the first letter is uppercase or not, now I have to sweep the entire sentence by changing where it’s lowercase to uppercase, but I’m…
-
0
votes1
answer291
viewsRepresentation of Assembly instructions
How to interpret an Assembly statement with its hexadecimal value in a memory address? 8B 4C 24 04 CORRESPONDS TO THIS -> MOV ECX,DWORD PTR SS:[ESP+4] But if I had only hexadecimal values how…
-
0
votes0
answers53
viewsWhy can I restore old ESP value
Well I have here a question that involves Assembly and C. The variable format has more than 4 bytes, yet I can do pushfrom it without using cast and return the old ESP value after push. How is it…
-
0
votes0
answers82
viewsKernel build error in Ubuntu
I am trying to compile the 3.2.91 kernel on Ubuntu and when I run the make command this error occurs: scripts/Makefile.build:305: recipe for target 'arch/x86/kvm/vmx.o' failed make[2]: ***…
-
0
votes0
answers33
viewsWhat does a numeral before an operand inside the parentheses mean?
I’m studying Assembly, and I found codes to work with TFT/LCD displays, and I couldn’t find information on a specific instruction, it moves multiples of a long chain of data loggers to the address…
-
0
votes1
answer117
viewsNASM SEGMENTATION FAILURE
Code update: I followed the tips and tried to stop the loop in the update section. I’m still working on the segmentation failure, however. And I need to check this loop, I don’t think it’s quite…
-
-1
votes1
answer448
viewsWhat is the difference between operating code (opcode) and instruction set (Instruction set)
What’s the difference between them? I know they both show commands that exist in each architecture.