From 3c435756bcd997dac981ca78c49c5100eb2211b7 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 16 Mar 2015 20:26:59 -0700 Subject: 932 - clean up comments in the tangled c++ --- cpp/018address | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'cpp/018address') diff --git a/cpp/018address b/cpp/018address index bdf10685..cd4f180e 100644 --- a/cpp/018address +++ b/cpp/018address @@ -1,5 +1,6 @@ +//: Instructions can read from addresses pointing at other locations using the +//: 'deref' property. :(scenario "copy_indirect") -# Instructions can read from addresses pointing at other locations using the 'deref' property. recipe main [ 1:address:integer <- copy 2:literal 2:integer <- copy 34:literal @@ -29,8 +30,9 @@ vector read_memory(reagent x) { return result; } +//: similarly, write to addresses pointing at other locations using the +//: 'deref' property :(scenario "store_indirect") -# similarly, write to addresses pointing at other locations using the 'deref' property recipe main [ 1:address:integer <- copy 2:literal 1:address:integer/deref <- copy 34:literal @@ -95,8 +97,8 @@ reagent deref(reagent x) { return result; } +//: 'get' can read from record address :(scenario "get_indirect") -# 'get' can read from record address recipe main [ 1:integer <- copy 2:literal 2:integer <- copy 34:literal -- cgit 1.4.1-2-gfad0