Always print instruction count when emulating
3831ea4371eb414d6d47083c804b4cf7e4911bb1d85ed6fbed9529943d609564
1 parent
79cea13d
Makefile
+2 -1
| 12 | 12 | ||
| 13 | 13 | # Emulator command used to invoke the self-hosted compiler. |
|
| 14 | 14 | EMU := $(or $(RAD_EMULATOR),emulator) |
|
| 15 | 15 | EMU_FLAGS := -memory-size=385024 \ |
|
| 16 | 16 | -data-size=348160 \ |
|
| 17 | - | -stack-size=512 |
|
| 17 | + | -stack-size=512 \ |
|
| 18 | + | -count-instructions |
|
| 18 | 19 | RADIANCE := $(EMU) $(EMU_FLAGS) -run $(RAD_BIN) |
|
| 19 | 20 | ||
| 20 | 21 | # Verify the emulator binary exists. |
|
| 21 | 22 | EMU_PATH := $(shell command -v $(EMU) 2>/dev/null) |
|
| 22 | 23 |