make disassembly better -- a more woven text.
authorAndy Wingo <wingo@pobox.com>
Sun, 12 Oct 2008 20:49:24 +0000 (22:49 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 12 Oct 2008 20:49:24 +0000 (22:49 +0200)
commit02b1883e5661eb1a9bfb196e060a22c2c2cadc88
treeb92f9f4070f23647dd153f2c31fc9d1c8056bdf0
parent95b6ad34c3eefeaf85723841dca92c7da8f1322a
make disassembly better -- a more woven text.

* module/system/vm/assemble.scm (pop): Define a pop here too.
  (codegen): Rework how bindings are represented in a program's
  meta-info, so they declare their range in the binding list instead of
  you having to figure out when they end.

* module/system/vm/conv.scm (make-byte-decoder): Return the end-address
  as well; requires a change to callers.

* module/system/vm/disasm.scm (disassemble-objcode, disassemble-program)
  (disassemble-bytecode, disassemble-objects, disassemble-externals)
  (disassemble-meta, source->string, make-int16, code-annotation)
  (print-info): Rework to display my domination of `format', and, more
  seriously, start to integrate the "subsections" of the disassembly into
  the main disassembly text.

* module/system/vm/program.scm (program-bindings-as-lambda-list): Update
  for new bindings format; should be more correct.
module/system/vm/assemble.scm
module/system/vm/conv.scm
module/system/vm/disasm.scm
module/system/vm/program.scm