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 has been using and teaching C++ for over 20 years now. He is host of C++Weekly https://www.youtube.com/c/JasonTurner-lefticus and author of many C++ projects designed to help others learn and explore C++ https://github.com/lefticus/.