How codingquest2023/assemblyx64_tutorial works
This repository is a set of standalone x86 assembly teaching examples, not one integrated application. Its principal learner workflow is to build and run an episode to observe a specific instruction or programming technique; the episodes progress from basic operations through control flow and I/O to a Windows window and SSE floating point. The sampled C++ drivers show calls into assembly in Episodes 1 and 2. Other episode behavior is inferred only from the tree’s names; their source contents were not sampled, so no runtime links between them are asserted.
Main entry points: AssemblyAndC/main.cpp C++ Driver · Registers+MOV/main.cpp Registers Driver · sum.asm Assembly Sum · registers+MOV.asm Registers and MOV
Components 19
Assembly Basics
- Assembly Only
Episode1/AssemblyOnly/main.asm - C++ Driver
Episode1/AssemblyAndC/main.cpp - Assembly Sum
Episode1/AssemblyAndC/sum.asm - Registers Driver
Episode2/Registers+MOV/main.cpp - Registers and MOV
Episode2/Registers+MOV/registers+MOV.asm - Assembler Directives
Episode3/Directives/main.asm - Arithmetic Operations
Episode4/Add_Sub_Inc_Dec/main.asm - CPU Flags
Episode5/Flags/main.asm
Control and Debugging
- Conditional Jumps
Episode6/ConditionalJumps/main.asm - Compare Instruction
Episode7/CmpInstruction/main.asm - Assembly Debugging
Episode8/DebuggingAssemblyCode/main.asm - Stack Operations
Episode9/Stack/main.asm
I/O and Applications
- Formatted Output
Episode10/Printf/main.asm - Disassembly Demo
Episode11/Disassembly/main.cpp - Formatted Input
Episode12/Scanf/main.asm - Bitwise Logic
Episode13/BitwiseLogicalInstructions/main.asm - Guessing Game
Episode14/NumberGuessingGame/main.asm - Windows Window
Episode15/CreateWindow/main.asm
Advanced Topics
- SSE Floating Point
Episode16/16_BasicFloatingPointsSSE/main.asm
Connections 2
- C++ Driver → Assembly Sum: calls Sum
Episode1/AssemblyAndC/main.cpp - Registers Driver → Registers and MOV: calls Example
Episode2/Registers+MOV/main.cpp