Showing posts with label Assembly. Show all posts
Showing posts with label Assembly. Show all posts

Thursday, May 5, 2011

Reverse Engineering Binaries

New tutorial out! Learn how to reverse engineer, using real examples from a program written in C.

Thursday, April 28, 2011

CPU Register Cheatsheet

Here's a CPU register cheatsheet. It really comes in handy when doing low level programming, such as assembly.

Thursday, April 21, 2011

Computer Bootloaders

Learn all about bootloaders, including how to write your own in assembly code. It gets pretty low level, but does a good job about teaching memory addressing and other basics, so that anyone should be able to get the theory behind it.

However, if you want to work on the "Write your Own Bootloader" part, you may want to read Assembly Basics first, followed by Assembly Tutorial before attempting to write a bootloader.

Overall, its a great article if you want to learn a little bit more about what goes on behind the scenes on your computer.

Monday, March 14, 2011

How to be Hardcore: Part 3

Good news everyone! Today we're going to actually start programming! I'll show you how to make a really easy "Hello World" program, in assembly! From this, you should get a good handle on the basic syntax of assembly, which will make the rest of assembly seem like a piece of cake.

Thanks GNU for as (assembler) and ld (linker)!


Sunday, March 13, 2011

How to be Hardcore: Part 2

Alright, so far you (hopefully) understand the basics of registers and the CPU, along with CPU instructions and interrupts. Today I'm going to talk about memory, and how to set up an assembler that uses AT&T syntax, since AT&T syntax the native syntax of GCC. So, lets get started with memory.

Saturday, March 12, 2011

How to be Hardcore: Part 1

This might just be me, but whenever I feel like being a hardcore programmer, I program in assembly. Yes, you read that right. Assembly. One step above machine code. So, in order to convert normal programmers into hardcore programmers, I'm going to make a series of tutorials. At the end of each section, I'll include a "tl;dr" (too long, didn't read) summary of the section. In today's episode, I'm going to give you some background information, focusing on the CPU instructions and the CPU itself.

Yes, this makes you cool