
About this book
; 0x40 assembly riddles "xchg rax,rax" is a collection of assembly gems and riddles I found over many years of reversing and writing assembly code. The book contains 0x40 short assembly snippets, each built to teach you one concept about assembly, math or life in general. Be warned - This book is not for beginners. It doesn't contain anything besides assembly code, and therefore some x86_64 assembly knowledge is required. How to use this book? Get an assembler (Yasm or Nasm is recommended), and obtain the x86_64 instruction set. Then for every snippet, try to understand what it does. Try to run it with different inputs if you don't understand it in the beginning. Look up for instructions you don't fully know in the Instruction sets PDF. Start from the beginning. The order has meaning. As a final note, the full contents of the book could be viewed for free on my website (Just google "xchg rax,rax").
Tags
Select a tag to vote for it. Select it again to remove your vote. The number on a tag is how many readers voted for it. Search and Discover show this book under a tag when the tag comes from its published information, or when three readers vote for it. Only readers who have the book on their Currently Reading or Finished shelf count toward those three.
Moods
Vibes
Pace
What do these tags mean?
Moods
- Cozy:
- Low-jeopardy warmth: small stakes, a safe community, danger kept mostly off the page. A village mystery or a small-town romance qualifies; a tense thriller in a charming setting does not.
- Adventurous:
- A journey, quest, voyage or exploration drives the book; physical action and new places are central.
- Emotional:
- Grief, loss or hardship rendered so that moving the reader is the point of the book. Not for a book that merely has feelings in it.
- Dark:
- Bleak, disturbing or morally grim; cruelty, despair or violence are dwelt on, not passed over.
- Hopeful:
- Moves toward light: recovery, resilience, repair, things getting better by the end.
- Romantic:
- A romance between characters is a central thread, whether or not sex appears on the page.
- Funny:
- Written for laughs; comedy, satire or wit is a primary register.
- Spicy:
- Explicit sex is depicted on the page, in detail. Closed-door, fade-to-black or tension without depiction is romantic, not spicy.
Vibes
- Beach Read:
- Light, propulsive holiday reading.
- Page Turner:
- Hard to put down: short chapters, constant hooks.
- Literary:
- Prose style and form are themselves a point of the book.
- Thought-provoking:
- Poses ideas or questions the reader carries away.
- Atmospheric:
- A strong sense of place or mood; the setting is immersive.
- Character-driven:
- Interior lives and relationships propel the story: the book's engine is people.
- Plot-driven:
- Events, twists and momentum propel the story: the book's engine is what happens.
- Slow Burn:
- Tension, romantic or otherwise, builds gradually.
- Epic:
- Sweeping scope: a large cast, high stakes, a saga or several generations.
- Comfort Read:
- A gentle, reassuring, low-stakes reading experience. Cozy is about the story's stakes; comfort-read is about how the book feels to read.
Pace
- Slow:
- Unhurried: the book lingers on description, interior thought or daily detail, and plot events are far apart.
- Medium:
- Neither rushed nor lingering: the story moves steadily, with room for scene-setting and reflection.
- Fast:
- Events come quickly: short scenes, frequent turns, little time spent between them.
Content warnings
No content warnings are listed. That does not mean the book has none: this book has not been checked for them yet.
Tags and content warnings come from published information about the book and from readers. They can be wrong or incomplete.
Is a tag or warning wrong?
Add a content warning
Pick one this book should have. Yours shows on the book once it is added.