Email the Author
You can use this page to email Jason Turner about Opcode Puzzlers Book 1.
About the Book
This unique puzzle book of 128 FUN puzzles has you following
operations performed in a simulated CPU-like environment.
The puzzles in this book slowly build in complexity as new concepts
are introduced and the size of the puzzle increases.
If you are a programmer, you might get a better feel for how your
computer works. If not, then you'll just have FUN!
void run() { Machine<6> machine{{78, 176, 98, 184, 1, 218}}; mov(machine, 4_address, 1_address); dec(machine, 0_address); mov(machine, 3_address, 0_address); inc(machine, 5_address); dec(machine, 1_address); inc(machine, 1_address); print(machine); } // 16=w 17=v 77=i 98=l 128=i 175=l // 176=n 219=e 221=k // Answer (6): __ __ __ __ __ __
About the Author
Jason is host of C++Weekly https://www.youtube.com/c/JasonTurner-lefticus, Co-host of CppCast http://cppcast.com, Co-creator and maintainer of the embedded scripting language for C++, ChaiScript http://chaiscript.com, and author and curator of the forkable coding standards