]> code.delx.au - gnu-emacs-elpa/commit
* lmc.el: Add a few more commands, and a tool-bar.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 27 Sep 2011 04:06:02 +0000 (00:06 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 27 Sep 2011 04:06:02 +0000 (00:06 -0400)
commit1f02e4340d4c6676bae0723a4d61b53aef4fa0ba
tree4e4253099497ac0be4d06dca494d34c9f86bfb41
parent456f4635ee4f5faa1c4c9e68a7e69ae39506d76b
* 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.
packages/lmc/lmc.el