New package lmc.
* lmc.el: Add a few more commands, and a tool-bar.
(lmc--assemble): Warn of duplicate labels.
(lmc-disassemble-word): Fix typo.
(lmc-mode-map, lmc-menu): Add bindings for run, set-pc, and set-acc.
(lmc-tool-bar-map): New var.
(lmc-mode); Use it.  Make the PC and Acc editable with a click.
(lmc-set-pc, lmc-set-acc, lmc-run): New commands.
(lmc-step): Update tool-bar after hitting HLT.
(lmc-asm-indent-line): Parenthesize if needed.
2011-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>

* lmc.el: Version 1.0.
(lmc--assemble): Understand numerical "labels".
(lmc-tool-bar-to-string): New function.
(lmc-mode): Use it to move the buttons from the tool-bar to the header-line.
* lmc.el: Make it work on Emacs-22.
(lmc--with-silent-modifications): Compatibility macro.
(lmc-store-word): Use it.
(lmc): New group.
(lmc-store-flash): Make into a defcustom.
* packages/lmc/lmc.el (lmc-store-word): match-data can change in sit-for.
Reported by William Léchelle <william.lechelle@umontreal.ca>.
* lmc.el (lmc-turbo): New option.
(lmc--sit-for): New function.  Use it instead of sit-for.
(lmc-run): Don't stop upon user input if lmc-turbo is enabled.
* lmc.el (lmc--sit-for): Fix last change.
* lmc.el (lmc-asm-indentation): Indent to tab-width by default.
(lmc-step): Fix prompt for IN.
Add "rudel" to the list of externals.
* packages/lmc/lmc.el (lmc--load-word): Remove unused vars.
(lmc-after-change, lmc-tool-bar-to-string): Mark unused args.