diff options
Diffstat (limited to '')
| -rw-r--r-- | main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -9,9 +9,11 @@ | |||
| 9 | #include "isa/checker.h" | 9 | #include "isa/checker.h" |
| 10 | 10 | ||
| 11 | extern std::uint8_t _binary_count_bin_start[]; | 11 | extern std::uint8_t _binary_count_bin_start[]; |
| 12 | extern std::uint8_t _binary_fib_bin_start[]; | ||
| 12 | 13 | ||
| 13 | static const std::map<std::string, std::uint8_t *> programs = { | 14 | static const std::map<std::string, std::uint8_t *> programs = { |
| 14 | { "count", _binary_count_bin_start } | 15 | { "count", _binary_count_bin_start }, |
| 16 | { "fib", _binary_fib_bin_start }, | ||
| 15 | }; | 17 | }; |
| 16 | 18 | ||
| 17 | int load_program(checker &checker, const std::uint8_t *program) { | 19 | int load_program(checker &checker, const std::uint8_t *program) { |
