Questions tagged [fasm]

The Flat ASseMbler (FASM) is a fast and efficient self-assembling x86 assembler for DOS, Windows and Linux operating systems.

Flat assembler is a fast assembly language compiler for the x86 architecture processors, which does multiple passes to optimize the size of generated machine code. It is self-compilable and uses intel syntax.

There are versions for Windows, DOS, Linux and other Unix-like operating systems. The DOS and Windows versions also include an editor with integrated syntax-highlighting to edit, compile and execute programs from one place.

This tag should also be used for posts that do not relate directly to FASM, but make extensive use of language features and FASM-specific macros.

Related tags:

  • The more general for posts in assembly language, including
    • for 16-bit programming
    • for 32-bit programming
    • for 64-bit programming

Further links:

350 questions
-2
votes
1 answer

Why after the Div the quotient in EAX and the remainder in EDX is not modified

I am beginner in ASM, currently i am using FASM and with my code : include 'win32ax.inc' .code start: XOR EDX,EDX ; set to 0 MOV EBX,22 ;@DivLoop: MOV EAX,7 DIV EBX For Debug i am using Ollydbg and like you…
gabySoft
  • 3
  • 1
-2
votes
1 answer

A wrong size of "len" calculated by $ - symbol with FASM EQU

I have this FASM code: msg1: db "hello", 0 msg1_len equ $ - msg1 ; should be 6 Then later in code, mov edx, msg1_len puts its value in a register. Although msg1_len is supposed to be 6, when I'm debugging it, it returns a…
Kojito
  • 9
  • 1
-2
votes
1 answer

How to add text to OS written in assembly

So I started learning assembly and am writing a simple OS with FASM. I have a blue screen with a gray top bar and a cursor but can't get text to appear on a line. On the top line I want it to say "FILE SYSTEM" and then on other lines I want other…
-3
votes
1 answer

X64 assembler with visual studio 2022 integration

I am learning Intel X64 assembly language under Windows 11. Currently I'm using the latest Visual Studio 2022 preview with its built-in MASM64. I have looked everywhere for a good assembler and/or a good assembly IDE. I tried all of those:…
Danny Cohen
  • 77
  • 10
-4
votes
1 answer

How do i put bitmaps or any image format in an assembly program

this is a question i really need help on, i am currently writing an OS in FASM assembly and have a decent output with icons being from the ASCII table. I want to know if you can have images show up on your assembly program. I couldn't find a website…
1 2 3
23
24