// ships required in order to run this code #ship debug : Debug #ship icache : Icache // instructions not in any codebag are part of the "root codebag" // which is dispatched when the code is loaded debug.data: deliver; BOB: sendto icache.cbd; icache.cbd: [*] take, deliver; debug.data: [*] take, deliver; // This codebag illustrates how to do a loop. Notice that this // is actually an uncontrolled data emitter -- it could clog the // switch fabric! BOB: { 12: sendto debug.data; 13: sendto debug.data; 14: sendto debug.data; BOB: sendto icache.cbd; }