Xchg Rax, Rax

Xchg Rax, Rax

Description

; 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").

Similar Books

ISBN 10: 1593278802
ISBN 13: 9781593278809

14 Feb 2018
Manul Laphroaig

ISBN 10: 1977593372
ISBN 13: 9781977593375

07 Jun 2019
Pavel Yosifovich

ISBN 10: 1718501021
ISBN 13: 9781718501027

03 Sep 2020
Chris Eagle

ISBN 10: 1118787315
ISBN 13: 9781118787311

11 Apr 2014
Bruce Dang

ISBN 10: 1718500645
ISBN 13: 9781718500648

09 Feb 2021
Manul Laphroaig

ISBN 10: 0735684189
ISBN 13: 9780735684188

16 Jun 2017
Pavel Yosifovich

ISBN 10: 1775093344
ISBN 13: 9781775093343

05 May 2021
Anthony Shaw

ISBN 10: 1593279787
ISBN 13: 9781593279783

27 Aug 2019
Andrew Bunnie Huang

ISBN 10: 1718500904
ISBN 13: 9781718500907

20 Apr 2021
Fotios Chantzis

ISBN 10: 0321146530
ISBN 13: 9780321146533

17 Jan 2003
Kent Beck

ISBN 10: 1593279345
ISBN 13: 9781593279349

21 Dec 2018
Manul Laphroaig

ISBN 10: 0134190440
ISBN 13: 9780134190440

05 Nov 2015
Alan Donovan