about summary refs log tree commit diff stats
path: root/cpp/043space.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-30 00:02:54 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-30 00:03:03 -0700
commit72c4fb2ddacc9fccb8ebe8cba9d1322ddcaac017 (patch)
tree4ffd87e194a3168cab832d296755e74a266a4c61 /cpp/043space.cc
parent72cccd08c7a3462072b8ae5aea1576f010bf12c0 (diff)
downloadmu-72c4fb2ddacc9fccb8ebe8cba9d1322ddcaac017.tar.gz
1226 - bugfix in allocating arrays
Also our first test of printing to screen.
Diffstat (limited to 'cpp/043space.cc')
-rw-r--r--cpp/043space.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/043space.cc b/cpp/043space.cc
index 5d9c8555..e94cf023 100644
--- a/cpp/043space.cc
+++ b/cpp/043space.cc
@@ -99,7 +99,7 @@ int space_base(const reagent& x) {
 
 int address(int offset, int base) {
   if (base == 0) return offset;  // raw
-//?   cout << base << '\n'; //? 1
+//?   cout << base << '\n'; //? 2
   if (offset >= Memory[base]) {
     // todo: test
     raise << "location " << offset << " is out of bounds " << Memory[base] << '\n';