dev-resources.site
for different kinds of informations.
Running inline assembly code in C
Published at
6/29/2024
Categories
gcc
asm
assembly
Author
tallesl
Author
7 person written this
tallesl
open
#include <stdio.h>
void main() {
const char *hello = "Hello, World!\n";
asm(
"mov $1, %%rax\n"
"mov $1, %%rdi\n"
"mov %0, %%rsi\n"
"mov $14, %%rdx\n"
"syscall\n"
:
: "r"(hello)
: "%rax", "%rdi", "%rsi", "%rdx"
);
}
asm Article's
26 articles in total
Running inline assembly code in C
currently reading
What is Attack Surface Management (ASM)
read article
Easier than ASM
read article
Writing a Nes Game Day 2 -Tools & documentation
read article
Calling Conventions
read article
Writing a Nes Game Day 3 -starting with the code
read article
AsmBB v3.0 has been released.
read article
PicoCTF Writeup β Reverse Engineering (asm2)
read article
100 Languages Speedrun: Episode 40: x86-64 Assembly
read article
Learning 6502 ASM
read article
ARMΒ Assembly β hello world
read article
'function enter/leave' + .NET profiler + 64Bit. Assembler code included!
read article
Trace 'function enter/leave' events with a .NET profiler + detect StackOverflow. Assembler code included!
read article
AsmBB v2.9 has been released. With new beautiful theme and emoji!!!111 ππ₯
read article
Adventures in learning x86 Assembly part 1
read article
Assembly language learning series- intro post
read article
Interesting hash tree implementation
read article
Video of one hour of assembly programming.
read article
Why assembly programs are faster than HLL programs, despite that the compilers are so advanced?
read article
Tale about data corruption, stack and red zone
read article
CoreFreq
read article
Base 10, Base 2, Base 8, Base 16- part 1
read article
Mixing C++ with AMD64 (x86_64) assembly
read article
AsmBB v2.7 has been released. Now encrypted databases are supported.
read article
Fresh IDE v2.7.0 has been released
read article
Lightning fast installation of AsmBB forum.
read article
Featured ones: