Scheme 48 Manual | Contents | In Chapter: User's guide
Previous: Performance | Next: Module system

Disassembler

The ,dis command prints out the disassembled byte codes of a procedure.

> ,dis cons
cons
  0 (protocol 2)
  2 (pop)
  3 (make-stored-object 2 pair)
  6 (return)
> 
The current byte codes are listed in the file scheme/vm/arch.scm. A somewhat out-of-date description of them can be found in [5].

The command argument is optional; if unsupplied it defaults to the current focus object (##).

The disassembler can also be invoked on continuations and templates.

Previous: Performance | Next: Module system