diff options
Diffstat (limited to 'subx/010core.cc')
-rw-r--r-- | subx/010core.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subx/010core.cc b/subx/010core.cc index b21511d7..f391a369 100644 --- a/subx/010core.cc +++ b/subx/010core.cc @@ -98,7 +98,8 @@ End_of_program = 0; :(code) // helper for tests: load a program into memory from a textual representation // of its bytes, and run it -void run(const string& text_bytes) { +void run(string text_bytes) { + // Begin run() For Scenarios load_program(text_bytes, 1); // tests always assume a starting address of 1 EIP = 1; // preserve null pointer while (EIP < End_of_program) |