My article about a virtual CPU, a machine, computing only one instruction - NOR, is The Pragmatic Bookshelf magazine.
The idea was previously described in a series of posts:
- NORCPU hackme challenge (part 1, part 2)
- One-command NORCPU program hacking challenge: analysis and solutions
- CPU executing just one operation
- Модель процессора с одной командой
- NORCPU hackme challenge или взлом программы для однокомандного процессора
- Анализ результатов взлома программы однокомандного процессора NORCPU
The article discovers an implementation in Ruby. Now NOR assembly code looks almost as a regular assembler language. I was amazed how powerful Ruby is in creating domain specific languages (DSL). Mostly because it allows to omit parentheses in function calls.
Комментариев нет:
Отправить комментарий