dump was looping one too many times. before fix: acid: dump(sec, 1, "X") 0x00006968: 0x00000000 0x0000696c: 0x00000000 after fix acid: dump(sec, 1, "X") 0x00006968: 0x00000000 Notes: Mon Mar 17 16:26:08 EDT 2008 geoff it may be counter-intuitive (like so much of acid), but see page 20 of the acid manual. the algorithm it describes is what's implemented by dump: print count+1 times. Reference: /n/sources/patch/sorry/aciddump Date: Mon Dec 24 01:34:24 CET 2007 Signed-off-by: quanstro@quanstro.net Reviewed-by: geoff --- /sys/lib/acid/port Mon Dec 24 01:32:45 2007 +++ /sys/lib/acid/port Mon Dec 24 01:32:44 2007 @@ -508,7 +508,7 @@ defn dump(addr, n, fmt) { - loop 0, n do { + loop 1, n do { print(fmt(addr, 'X'), ": "); addr = mem(addr, fmt); }