flat assembler
Example projects.
This section contains programs created with the flat assembler and contributed by users, to give you some sample material to learn from. You can find here the examples of assembly programming in various environments and for different purposes. More of them will be added gradually, you can also submit your own programs to be included here, if you want to share some of your work, visit the message board and post there.
|
Base Converter size: 3 kilobytes |
Conversion between different number systems. Written by Tommy Lillehagen. |
|
Command line parameters size: 2 kilobytes |
This small program demonstrates handling the command line parameters in Windows. Written by Theodor-Iulian Ciobanu. |
|
Windows hooking example size: 3 kilobytes |
This example shows a run-time opcode modification and hooking an API by detouring method. Written by Bryan Power/RedGhost. |
|
Linux AMD64 examples size: 73 kilobytes |
A set of example programs for 64-bit Linux. Written by František Gábriš. |
|
FASMCam size: 2 kilobytes |
This application shows how to access webcam in Windows. Written by Marcus Araujo. |
|
Using libc in assembly size: 34 kilobytes |
This example demonstrates how to write portable 32bit app in assembly, by using libc (standard C library). Written by vid. |
|
Fractal Explorer 64 size: 238 kilobytes |
Mandelbrot set explorer for 64-bit Windows, which implements FPU, SSE, 128-bit AVX, 256-bit AVX and FMA code paths. Written by tthsqe. |
|
GTK examples size: 6 kilobytes |
Several small samples of GTK programming in Linux. Written by Sven Blumenstein. |
|
Calling Java classes from assembly size: 5 kilobytes |
This example is a console application for Win32 that uses the JVM.DLL interface to call some Java classes from the assembly code. Written by Tomasz Grysztar. |
|
kelvar unREAL engine size: 1342 kilobytes |
The simple game engine for DOS, which runs in the 32-bit unREAL mode. It shows also how to use VESA and Sound Blaster. Written by Tomasz Grysztar. |
|
Transparent window size: 3 kilobytes |
This example uses scrollbar control to set the transparency of its window. Written by Carlos Hernandez/coconut. |
|
Lemminiscing size: 1292 kilobytes |
A game demo for Windows, uses DirectDraw. Written by Kedar. |
|
Entering long mode - simple examples size: 3 kilobytes |
The samples of entering long mode starting from the real mode environment. Written by Tomasz Grysztar. |
|
Mixing assembly with MS Visual C size: 29 kilobytes |
A somewhat-advanced example of mixing assembly and C. It uses MS Visual C, but it may apply to other C compilers. Written by vid. |
|
FAT12 boot loader size: 14 kilobytes |
Boot loader capable of reading and executing code from the given file stored on floppy disk. Written by PetroffHeroj. |
|
Quetannon size: 15 kilobytes |
Demonstration of using WinSock library to make TCP/IP connections. Written by Tomasz Grysztar. |
|
JPEG screenshot with GDI+ size: 2 kilobytes |
A simple example of how to use GDI+ library. It takes a screenshot and saves it into JPEG file. Written by Tomasz Grysztar. |
|
SEH/Hardware Breakpoint in Win32 size: 3 kilobytes |
Adds an exception handler, breakpoints, handles the exception and continues execution, then creates a fatal exception. The exception handler displays all the exception info to the user. Written by Bryan Power/RedGhost. |
|
SysTray size: 3 kilobytes |
Simple example of windows tray application. Written by Mateusz Tymek. |
|
USB devices enumeration size: 11 kilobytes |
This is a port of a C example from the Windows DDK. Written by Roman Ovseytsev/arafel. |
|
Win64 drivers example size: 37 kilobytes |
A few example drivers for 64-bit Windows, with set of small applications for installing and removing them. Written by František Gábriš. |
Copyright © 2004-2012, Tomasz Grysztar.