http://www.codebreakers-journal.com/index.php?option=com_magazine&func=show_magazine&id=3&Itemid=27

A memory-mapped in HLA
A memory-mapped in HLA
This article series is intended as only an introduction to the use of advanced operating system features. For complete coverage of the topics, please consult appropriate reference material. All code examples are presented in HLA source and make ... 
Read More >>

Structures in Assembly Language Programs
Structures in Assembly Language Programs
Structures, or records, are an abstract data type that allows a programmer to collect different objects together into a single, composite, object. Structures can help make programs easier to read, write, modify, and maintain. Used appropriately,... 
Read More >>

Linux terminal windows
Linux terminal windows
Terminals are text oriented and introducing pictures or windows isn't attempted by most Linix utilities. Usually it is too much work for little benifit. But, there are a few ways we can cheat. One way is to use the drawing characters to make ... 
Read More >>

GetDriveType API Hooker (GUI)
GetDriveType API Hooker (GUI)
Well, as you can see a simple API Hooker with nice GUI. I was too lazy to comment all the code, but I left enough spaces for it to be readable for you guys. IMHO you will understand it easily since it's all APIs, no unusual algos or whatever. Y...
Read More >>

Process Memory Dumper in ASM
Process Memory Dumper in ASM
Process Memory Dumper is a memory dumper tool. Easy to use, read readme.txt for more information.

Read More >>

A Brainfuck compiler for Linux.
A Brainfuck compiler for Linux.
This is the final result of my attempt at the tiny-compiler challenge. The executable is 171 bytes in size. Requires Nasm in order to build (but see below).
Read More >>

Introduction to GCC Inline Asm
Introduction to GCC Inline Asm

The GNU C Compiler uses the assembler `as' as a backend. This assembler uses AT&T syntax. Here is a brief overview of the syntax. For more information about `as', look in the system info documentation.


Read More >>

Brennan's Guide to Inline Assembly
Brennan's Guide to Inline Assembly

Ok. This is meant to be an introduction to inline assembly under DJGPP. DJGPP is based on GCC, so it uses the AT&T/UNIX syntax and has a somewhat unique method of inline assembly. I spent many hours figuring some of this stuff out and told I... 
Read More >>


How do I write
How do I write "Hello, world" in FreeBSD assembler?
This program prints "Hello, world." on the standard output, and then exits with an exit status of 0. It is written for Intel machines, to be assembled by the GNU assembler, as. The syntax used by as is different from Intel's, but ...
Read More >>

Using Assembly Language in Linux
Using Assembly Language in Linux

This article will describe assembly language programming under Linux. Contained within the bounds of the article is a comparison between Intel and AT&T syntax asm, a guide to using syscalls and a introductory guide to using inline asm in gc... 
Read More >>


Using virtual terminals under Linux
Using virtual terminals under Linux
This code shows how to control the virtual terminal switching. As a standalone example it doesn't make much sense, but in connection with the framebuffer or ModeXexample code it is quite useful....
Read More >>

Using Mode X via direct VGA access under Linux
Using Mode X via direct VGA access under Linux
Accessing the VGA Card under Linux is different from DOS, the big difference is that you can't use any VGA BIOS routines. So switching to the well known 320x200 Mode is more complicated, because you have to do all the work on your own.
Read More >>

Using the raw keyboard mode under Linux
Using the raw keyboard mode under Linux
If you read something from STDIN, the read bytes are normally in ASCII format. In some cases it is useful to get the keyboard input as raw as possible. Imagine: Your program should react on the Alt or Ctrl Key with menu highlightning. In raw ke... 
Read More >>

Using the audio device under Linux
Using the audio device under Linux
The example code below is very simple. It doesn't check if your soundcard supports the options required (44.1 kHz mono/stereo 16 Bits signed). This causes wrong output if your soundcard doesn't support this. Of course your kernel has to ha...
Read More >>

Startup state of a Linux/i386 ELF binary
Startup state of a Linux/i386 ELF binary

The objective of this document is to describe several startup process details and the initial state of the stack & registers of an ELF binary program, for Linux Kernel 2.2.x and 2.0.x on i386.

Portions of material represented here may be... 
Read More >>


Using the framebuffer device under Linux
Using the framebuffer device under Linux
This is a short explanation, how you can use the linux framebuffer device in assembler language.
Read More >>

Using self modifying code under Linux
Using self modifying code under Linux

I know that this is not the cleanest way of programming, but sometimes this programming style is faster. Furthermore this method is used by JIT (just in time) compilers. Transmeta also uses some sort of self modifying code to implement a x86 sof... 
Read More >>


Writing A Useful Program With NASM
Writing A Useful Program With NASM

Much fun can be had with assembly programming, it gives you a much deeper understanding about the inner workings of your processor and kernel. This article is geared towards the beginning assembly programmer who can't seem to justify why h... 
Read More >>


Tiny PE - Creating the smallest possible PE executable
Tiny PE - Creating the smallest possible PE executable

This work was inspired by the Tiny PE challenge by Gil Dabah. The object of the challenge was to write the smallest PE file that downloads a file from the Internet and executes it. In the process of writing increasingly smaller PE files for t... 
Read More >>


A Whirlwind Tutorial on Creating Really Teensy ELF Executables for Linux
A Whirlwind Tutorial on Creating Really Teensy ELF Executables for Linux

If you're a programmer who's become fed up with software bloat, then may you find herein the perfect antidote.

This document explores methods for squeezing excess bytes out of simple programs. (Of course, the more practical purpose o... 
Read More >>



Reply via email to