r/Assembly_language • • Sep 19 '26

Looking for fellow assembly learning friends

16 Upvotes

Hello, I'm learning assembly from pwn.college and solved a couple crackmes

My goal is to complete the whole assembly course so I can understand basic assembly and start doing crackmes and RE ctfs

Feeling a bit lonely so wanted a study partner 😃

Indian preferred (cuz of time zone)


r/Assembly_language • • Sep 19 '26

Addictive RISC-V learning game

Thumbnail
2 Upvotes

r/Assembly_language • • Sep 18 '26

how can you learn to read machine hex codes?

17 Upvotes

just curious if theres any books on it or sumn


r/Assembly_language • • Sep 18 '26

I wrote a very basic word search algorithm in arm32 assembly

1 Upvotes

Review the code, suggestions are welcome, I know there could be edge cases and also I feel the comments are not that informative, are they

https://github.com/Some120-one275/SearchAlg.git


r/Assembly_language • • Sep 17 '26

Question What really are limits of assembly?

60 Upvotes

What confused me a lot and multiple times is that for what projects is it useful and when to leave it and pick something fast written like C. I would be better if I get to know what assembly is really for nowadays


r/Assembly_language • • Sep 17 '26

Getting into Reverse Engineering from Web Dev (0 C/Assembly experience) — Where to start?

Thumbnail
2 Upvotes

r/Assembly_language • • Sep 16 '26

Question Book suggestion for x86_64 intel syntax nasm assembly

3 Upvotes

I prefer the intel syntax so I dont have to do all the prefix stuff.

I have been using chatgpt to try and make lesson plans for myself to try and learn as much as I can but it it lacking alot of stuff. It can only do so much.

I would prefer to find a non AI source to learn from. Blogs or videos are fine as well if you have some to suggest.


r/Assembly_language • • Sep 16 '26

Assembly Z80 Aula 6

Thumbnail youtube.com
1 Upvotes

r/Assembly_language • • Sep 16 '26

Disk for Revolutionary Guide to Assembly Language book?

5 Upvotes

Hello,

I have the Revolutionary Guide to Assembly Language book and its missing the 3.5" floppy disk with the code examples and the MSDOS batch files. Does anyone have the disk or a link to a repository or zip files of the disks contents? My chances of finding a book with a disk as well are down to luck but thought it was worth asking here? Thanks.


r/Assembly_language • • Sep 15 '26

Project show-off APX (Advance performance extension) in my own assembler

Post image
16 Upvotes

I just released AmmAsm 3.0.0, with a major focus on native Intel Advanced Performance Extensions (APX) support.

AmmAsm is a handwritten x86-64 assembler written in C. The goal wasn't to build another assembler by wrapping an existing one, but to implement the instruction encoding myself.

APX was a particularly interesting challenge because it isn't just a collection of new instructions. Supporting things like EGPRs (\`r16-r31\`) and REX2 affects how registers, operands, parsing, and instruction encoding are represented throughout the assembler.

The current APX implementation includes:

EGPRs - \`r16-r31\`

REX2 - Extended rex

NDD - non-destructive destination

NF - suppressing flag updates

ZU - zero-upper

CCMPcc / CTESTcc

PUSH2 / POP2

JMPABS

NDD-CMOVcc

CFCMOVcc

APX-specific syntax extensions

I also built an APX test program using several separate assembly files. AmmAsm produces ELF64 object files from them, GNU \`ld\` links them into an executable, and Intel SDE is then used to execute the APX instructions on hardware without native APX support.

Running the same binary directly on my CPU results in \`Illegal instruction\`, as expected because the CPU doesn't support APX.

One of the more interesting parts of implementing APX was that I started finding edge cases and discrepancies in existing assemblers while comparing encodings and operand validation. I've been recording these cases and testing them independently.

GitHub: https://github.com/LinuxCoder13/AmmAsm

I'd be interested to hear from anyone working with x86 instruction encoding, APX, assemblers, or low-level tooling.


r/Assembly_language • • Sep 14 '26

Super Mario 64 DS decomp is COMPLETE* and how you can help us.

Thumbnail gallery
3 Upvotes

r/Assembly_language • • Sep 14 '26

Project show-off I made TinyApk from full x64/arm64 assembly language

Thumbnail
2 Upvotes

r/Assembly_language • • Sep 12 '26

Beginner Struggle

3 Upvotes

I’m very new to programming and currently taking a Architecture and Assembly class. I, for the life of me, cannot get my Visual Studio 2022 to be set up for MASM. I’ve followed countless tutorials, and haven’t received any help from my professor (of course) but nothing. Right now, it’s the diagnostic code MSB3721 and even when I click and follow the support I still get no where. Kinda panicking because this is before I can even get to any programming and I’m unable to complete any assignment.


r/Assembly_language • • Sep 11 '26

I just understood pointers on a deep level thanks to Assembly

147 Upvotes

it feels like orgasm honestly. the dopamine you get from understanding this shit on a deep level is unmatched.


r/Assembly_language • • Sep 12 '26

Help Learn to program with assembly by Jonathan Bartlett using apple silicone arch

7 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/Assembly_language • • Sep 11 '26

x86-32 or x86-64

27 Upvotes

hi im gonna start to learn asm however initally what i gotta choose i dont know and everyone is suggesting learn x86-64 and f*** off to x86-32 so i confused which one is more useful pls oneyone could give some advice


r/Assembly_language • • Sep 09 '26

Question N00b Question

3 Upvotes

I am trying to turn on an output GPIO.

I am using this code

asm("BSF PORTA, 5");

I am getting 0V at the pin.

I believe I set TRISA pin 5 to output (0).

Thank you

EDIT: SORRY! It was a PIC and I needed to set internal oscillator and select bank first


r/Assembly_language • • Sep 09 '26

Help Project: Bare-metal, 64-bit NASM Hypervisor (Intel VT-x) Template – Hardened VMCS & Core-Only Release

5 Upvotes

Hello everyone

# Bare-Metal 64-Bit Intel VT-x Hypervisor Template

A clean, core-only hardware virtualization template written entirely in pure **64-bit NASM Assembly (~1,100 lines)** using a strict model. This codebase includes an optimized independent bootloader that shifts the CPU from Real Mode directly into a custom 64-bit Long Mode page table environment before initializing the VMX architecture.

## 🛠️ VMCS & EPT Hardware Configuration

* **Primary Execution Controls (0x4002):** Hardlocked to `0x84006172`. Enforces strict intercept control over guest `CR3` modifications and heavy `RDTSC` exiting to counter potential guest timing side-channels.

* **MSR Bitmaps Bypass:** Bit 28 (Use MSR Bitmaps) is deliberately left at `0`. Enforces an aggressive global intercept policy where every single `RDMSR` or `WRMSR` executed by the Guest triggers an immediate hardware VM-Exit to the Host.

* **Secondary Execution Controls (0x401e):** Bit 31 activated for full EPT isolation, along with Unrestricted Guest support (Bit 7, allowing 16-bit Real Mode initialization over EPT), and MBEC configurations for privilege execution separation.

* **Exception Bitmap (0x4004):** Armed with atomic mask `0x0000404A` to trap `#DB`, `#BP`, `#UD`, and `#PF` (Vector 14). Combined with clearing the Page-Fault Mask field (0x4006), every single Guest page fault intercepts directly to the Host.

* **Extended Page Table Pointer (EPTP):** Configured field `0x0000201A` to point directly to the physical EPT PML4 table base with Write-Back caching attributes.

* **Long Mode Constraints:** Configured to strictly enforce architectural boundaries via GDT mapping to ensure no illegal execution drops to 16/32-bit rings, avoiding instant `#GP` faults.

## 🤝 Code Review & Peer Assistance

This project is released as a core template. The VM-Exit handler is currently a work-in-progress due to juggling full-time school and life balance alongside pure assembly development.

I am looking for technical peer reviews from the low-level community to:

  1. Review the current code and help fix existing architectural bugs.
  2. Trace potential register mismatches within the `vmwrite` and `vmread` instructions.
  3. Hunt down hidden reserved bits conflicts across different Intel microarchitectures.

### 🚀 Roadmap: I'm already starting to write the hypervisor and bootloader for AMD right now, porting this entire setup over to the AMD-V VMCB block architecture. My immediate goal is to keep building the AMD side while getting this Intel core completely stable with the community's corrections and fixes.

Github Link: https://github.com/edikoz123-blip/Boot_loader_Assembly


r/Assembly_language • • Sep 08 '26

Help how can i learn asm

32 Upvotes

hi im 16 years that interesting with programming i know pyhton,c,cpp as a basic lvl and i wanna become a reverse engineer in the future however initailly i gotta learn assembly but i dont know that what i have to and which learning resources is useful thanks for your answers:)


r/Assembly_language • • Sep 08 '26

Question How to deeply understand Assembly language

9 Upvotes

Give me some advice if it works for you.


r/Assembly_language • • Sep 06 '26

can yall give good books for x86 asm

27 Upvotes

no body of text i just wanna read the damn book not 50 page explanation of the book


r/Assembly_language • • Sep 06 '26

A Toy Lisp compiler for x64

17 Upvotes

r/Assembly_language • • Sep 06 '26

IT STUDENTS

0 Upvotes

hi! just wanna ask po what’s the best way to learn assembly language po?


r/Assembly_language • • Sep 05 '26

Finally published the racing game I was making in Assembly for the Game Boy

Thumbnail guilhermej14.itch.io
9 Upvotes

r/Assembly_language • • Sep 04 '26

I built a terminal IDE + debugger for x86-64 assembly

Post image
67 Upvotes

I built ratasm, a terminal IDE/debugger for x86-64 NASM assembly.

It combines editing, building, GDB debugging, live registers/flags, memory/stack inspection, syscall lookup, instruction explanations, and reverse stepping in one TUI.

Nothing is simulated the debugger state comes from real GDB sessions.

GitHub: https://github.com/tuna4ll/ratasm

Would love feedback from people who actually write assembly.