Tetris, but the blocks are ARM instructions that execute in the browser (ofrak.com)
from tedu@azorius.net to programming@azorius.net on 11 Aug 2023 18:27
https://azorius.net/g/programming/p/36JQdRDnTc5J6DLK8d-Tetris-but-the-blocks-are-ARM-instructions-that-

In the game, 32-bit, little-endian ARM assembly instructions fall, and you can modify the operands before executing them on a CPU emulator. There are two segments mapped – one for instructions, and one for data (though both have read, write, and execute permissions). Your score is a four byte signed integer stored at the virtual address pointed to by the R12 register, and the goal is to use the instructions that fall to make the score value in memory as high as possible. When it's game over, you can download your game as an ELF to relive the glory in GDB on your favorite ARM device.

World's most difficult to use editor. :)

#cpu #gaming #programming

threaded - newest