So, I want to create a game of life simulator on the console. For that, I need to move the cursor up so I can rewrite on it and I can do that with \u0 ...
So, I want to create a game of life simulator on the console. For that, I need to move the cursor up so I can rewrite on it and I can do that with \u0 ...
I'm trying to compile this source (already stripped down to minimum) with NASM 0.98.39: Unexpectedly, I get the error message: Newer versions of ...
I have to create a program for university that searches for a previously specified 8-bit value in the memory area C000H-CFFFH (monitor program of the ...
I am writing in x86-64 NASM assembly and I wrote a function to close a window using X11 on Ubuntu via WSL I keep getting this error: my code looks ...
I am attempting to write a simple OS from scrath, but I have stumbled into a problem. I wrote a simple procedure that runs through a string and prints ...
I want to write a x86 (32-bit) assembler program that sends prime numbers from 1 to 100,000 to standard output. I wrote some code but it seems to not ...
I have to Write a nasm (or other) assembler program for an x86 processor that prints a 32-bit hexadecimal number on the standard output, such as print ...
Here is the code: When this program is run, It prints the message: `The factors of `, then the caret stops in place. It makes me think that it's i ...
I am learning to code on NASM and I was trying to understand recursion through using coding factorial but I got confused quickly. How can I use Recu ...
The code just prints out nothing what would I do for the output that will be 150 and 48? I'm practicing nasm I expect for my coding to print the Ad ...
I was wondering why you would use the and instruction instead of the sub instruction when converting lowercase ASCII characters to uppercase ones. ...
I have been writing some x86_16 assembly code for BIOS real mode as a hobby for quiet a while now. Recently I decided to move to writing 64-bit bootlo ...
I'm trying to make a simple x86 program that reverses a string, in this case: "ciao". When I try to assemble it, I get the error: main.asm:14: ...
I have created a small program in Assembly (NASM) for Windows 32-bit that call the WinAPI and opens a message box. The program crashes for some reason ...
EDIT: okay, there's the code: My program takes a hardcoded decimal number, squares it, and prints the answer on the screen. Everything works just f ...
I'm trying to translate dd from NASM (or MASM) to GAS. I can't find it anywhere in the manual. ...
I really dislike the GNU Assembler syntax and I some existing code written with NASM syntax that would be quite painful and time consuming to port. I ...
I'm currently building a (very simple) OS, using NASM. I'm trying to write an assembly function that will read a byte from an address given as a funct ...
This is how to print out a number, but how do I print out 2 digit numbers? This simply prints out 9, but if I make num 12 it gives me a '<'. I b ...
I am trying to stringify and integer in assembly (NASM) by making an sprintf call. I have the following assembly code which does this: This code w ...