all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* help reading assembly code
@ 2011-10-24 12:29 Andrea Crotti
  2011-10-26 22:10 ` Peter Münster
  0 siblings, 1 reply; 6+ messages in thread
From: Andrea Crotti @ 2011-10-24 12:29 UTC (permalink / raw)
  To: help-gnu-emacs

I would like to be able to read more easily assembly code (since I
really don't do it very often).

For example it would be nice to have some function which shows me a
reference documentation given the operator.

On emacswiki there appears to be not much, anyone has something
hand-made that would like to share?



^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <mailman.947.1319459367.15868.help-gnu-emacs@gnu.org>]
* RE: help reading assembly code
@ 2011-10-25 15:43 Buchs, Kevin
  2011-10-26 14:35 ` Andrea Crotti
  0 siblings, 1 reply; 6+ messages in thread
From: Buchs, Kevin @ 2011-10-25 15:43 UTC (permalink / raw)
  To: help-gnu-emacs

> I would like to be able to read more easily assembly code (since I really don't do it very often). For example it would be nice to have some function which shows me a reference documentation given the operator.

Given my current infatuation with org-mode, I would accomplish the function you describe above (only) using org-mode. I would make each command a radio link, such that you could hypertext jump to the documentation on the command wherever it occurs in your program. I would take a file of command documentation and insert it at the end of my program. Each command name should be enclosed in << >>. The turn on org-mode. 

Alternately, I would suggest writing a lisp function which parses out each command and replaces it with a link with the same text as the label and that link executes lisp code to bring up the definition, in the message area, a help buffer, new frame or whatever fits best for you. 

Have you checked out asm-mode? That might give you syntax coloring for assembly that could be useful. You might have to create an child mode with custom syntax table, depending on your assembly language.

Kevin Buchs   |  Senior Engineer  |  Department of Physiology and Biomedical Engineering - SPPDG
507-538-5459  |   buchs.kevin@mayo.edu  |  http://www.mayo.edu/sppdg
Mayo Clinic  |  200 1st St. SW  |  Rochester, MN 55905  



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-10-26 22:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-24 12:29 help reading assembly code Andrea Crotti
2011-10-26 22:10 ` Peter Münster
     [not found] <mailman.947.1319459367.15868.help-gnu-emacs@gnu.org>
2011-10-24 20:38 ` Pascal J. Bourguignon
2011-10-25  2:25   ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2011-10-25 15:43 Buchs, Kevin
2011-10-26 14:35 ` Andrea Crotti

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.