r/asm • • 5d ago

General I created an assembly language and then a playground

13 Upvotes

Having nothing better to do recently, I developed a simple assembly language and an online playground for it. If anyone fancies having a play, please do: https://www.compassion-in-business.co.uk/learning/assembler.php


r/asm • • 6d ago

ARM I made a MARS-style simulator for ARMv7 assembly

Thumbnail
reddit.com
8 Upvotes

r/asm • • 7d ago

x86-64/x64 Sem86 - A full-system emulator without hardcoded semantics

Thumbnail liblisa.nl
13 Upvotes

r/asm • • 13d ago

General I've updated my Linux System Call website after a long time (originally released in 2020). Includes more platforms now, kernel diffs and other things. The API was also updated

Thumbnail
syscall.sh
10 Upvotes

r/asm • • 22d ago

ARM queso: disassembling 40+ years of arm 🧀

Thumbnail
youtu.be
4 Upvotes

queso is an arm disassembler prioritizing historical accuracy on older versions for emulation and retro computing. There are cli, web, vendorable Golang, and vendorable C versions available, hex string and file inputs, and a ton of customizable options including custom register names, address offsets, and arm versions (ARMv1 - ARMv5TE).

https://github.com/aabalke/queso

https://guacemulator.com/queso

A big thank you to everyone who documents, builds, and provides support!


r/asm • • 26d ago

General Compound Memory Models

Thumbnail
sigarch.org
3 Upvotes

r/asm • • 27d ago

x86 Inside the Intel 8087 chip: floating-point addition and subtraction

Thumbnail
righto.com
27 Upvotes

r/asm • • 28d ago

General Ghidra + CBMC = Assembly Model Checker

Thumbnail
philipzucker.com
7 Upvotes

r/asm • • Oct 10 '26

x86-64/x64 Vectorized CLZ and CTZ

Thumbnail
purplesyringa.moe
9 Upvotes

r/asm • • Oct 09 '26

General Asm Editor, educational assembly IDE on the web, now with C/C++ compilation and peripherals

Thumbnail
asm-editor.specy.app
31 Upvotes

Hello everyone! For the past few years I've been working on ASM editor (github), an IDE for assembly running completely on the web with many architectures available (x86, mips, risc-v, m68k, z80 and more to come) with a lot of debugging features like step by step execution, undo, memory and registers viewers, breakpoints, observability of what each instruction did and much more!

Recently I've added a feature I had dreamed of adding for a long time, C and C++ compilation! It allows you to write C and C++ code (with a subset of libc available), compile it to assembly to see how each line was compiled, to then execute it with all the debugging tools available in the IDE.

I've also added peripherals like a screen, terminal, keyboard, mouse and file system. All of them can also undo to previous steps.

The IDE is used by my university and a few others to teach low level programming and has a lot of useful tools to teach. I've also published a paper about it in an IEEE conference.

It can be embedded in other websites as part of interactive courses or be used to do exams in schools and universities.

I'd love to get opinions/suggestions/feedback about it, please let me know in the comments!


r/asm • • Oct 03 '26

x86-64/x64 What is the best way to learn x86_64 assembly?

22 Upvotes

I am a Java programmer, and as a hobby, I want to learn C with a focus on operating systems—specifically to modify existing open-source operating systems like GNU/Linux or BSD.

However, I understand that before learning C, it is a good idea to learn some assembly language. What is the best way to learn x86_64 assembly?


r/asm • • Oct 03 '26

x86 "8-pinski" - sierpinski animation + bytebeat in EIGHT bytes x86 code

Thumbnail
reddit.com
6 Upvotes

r/asm • • Oct 02 '26

ARM64/AArch64 Catscan: Visualizing Pipelines of CPU Performance Simulation

Thumbnail
arxiv.org
6 Upvotes

r/asm • • Sep 28 '26

ARM64/AArch64 I built an AArch64 emulator that runs in the browser

11 Upvotes

I took an ARM assembly course that was taught at our university in 2023 and loved it. The course was taught really well. The tooling is just old. You SSH into a department server, assemble, run, and get "Segmentation fault (core dumped)" with no line number and no idea which instruction did it.

I ended up TAing it 2 years later, then head TAing it the following semester. In April I started writing an interpreter and a few weeks later it ran real programs.

The hard part was making everything around the instructions match the real server: printf, scanf, m4 macros, the assembler directives. One of my old profs suggested compiling C programs with gcc on the server and checking the playground prints the same thing. The first run passed 0 programs. Most of that was one bug with branches jumping to the wrong place. Now it matches on basically all of them.

You can step through a program one instruction at a time, forwards or backwards. When it crashes, it points at the instruction that did it. Click any instruction to see its 32 bits split into the fields from the ARM manual. There are lessons, and practice problems checked by running your code.

I'd appreciate it if yall could test it out and lmk what you think!

aarch64-playground.com


r/asm • • Sep 28 '26

General Comprehensive Architecture Registers Reference Bank (Intel/AMD MSRs, ARM/RISC-V Core Registers) for Bare-Metal & OS Dev

Thumbnail
reddit.com
1 Upvotes

r/asm • • Sep 23 '26

General 26 years ago I read assembly on backbone router NPUs for a living. I have spent the last year making the detective game about that job

27 Upvotes

I started out writing C for the network processors in backbone routers. A lot of that job was not writing anything: it was reading a listing, watching registers, and working out which instruction was not doing what everyone believed it was doing. I liked it more than was reasonable.

I have built a game that is only that. A fictional load/store ISA, fourteen instructions, six registers, a memory grid, memory-mapped ports with settling time. A program written by someone who is now dead. A full recorded trace, which you can step, breakpoint and rewind, and which exists in its entirety the moment you open the case, so you can read the listing, form a theory and jump straight to the tick that proves it.

The design constraint I set myself was that you never write or change anything. The moment you can edit the program it stops being an investigation and becomes a puzzle box. So every tool is read-only, including the one that lets you re-run the tape against sensor values the machine never actually saw, which is marked off the record so it cannot corrupt what you are proving.

The part I would most like this sub's opinion on is the proof. Naming the faulty line is not enough. You also have to classify the mistake and point at the tick where the harm first shows in machine state. That third clause is where everyone struggles, and I am still not sure whether it is too much to ask or just badly explained.

Free, seven cases, about an hour, no download: https://endpaperdev.itch.io/faultfinder-demo

Steam: https://store.steampowered.com/app/5120330/Faultfinder_Demo/


r/asm • • Sep 22 '26

General What Does This Assembly Code Do?

Thumbnail pagetable.com
0 Upvotes

r/asm • • Sep 19 '26

x86-64/x64 The scourge of x86 emulation

Thumbnail fex-emu.com
24 Upvotes

r/asm • • Sep 17 '26

General Custom assembler for CHIP-8 in C++

10 Upvotes

I'm writing a custom assembler for CHIP-8 and just finished adding support for the DB/.byte directive so I can embed sprites in the ROM and finally get something drawn on the screen. It SHOULD support all OG CHIP-8 instructions, but still a ton of rough edges that I'm ironing out.

This is my first ever C++ project, just like the CHIP-8 emulator was my first ever C (and emudev) project. It's so satisfying to write assembly and have your program spit out a ROM that actually runs in the emulator you wrote.

All code is written by me (a lot of it livestreaming) as evident by the quality, no AI.

Repo: https://github.com/Tackx/c8-ass


r/asm • • Sep 13 '26

x86 Microcode in Intel's 8087 floating-point chip: the scale instruction

Thumbnail
righto.com
25 Upvotes

r/asm • • Sep 12 '26

ARM64/AArch64 Learn to program with assembly by Jonathan Bartlett using apple silicone arch

9 Upvotes

Hi! has anyone followed the book learn to program with assembly by Jonathan Bartlett using mac silicon? the book said it can be followed using docker in appendix a, but im wondering if anyone here managed to get through with another way.

https://www.amazon.com/Learn-Program-Assembly-Foundational-Programmers/dp/1484274369


r/asm • • Sep 12 '26

6502/65816 Hand-Coded ASM Powers Homebrew SNES Game

Thumbnail
hackaday.com
2 Upvotes

r/asm • • Sep 10 '26

General On Binary Translation and its Consequences

Thumbnail
chipsandcheese.com
5 Upvotes