From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Pascal J. Bourguignon" Newsgroups: gmane.emacs.help Subject: Re: help reading assembly code Date: Mon, 24 Oct 2011 22:38:45 +0200 Organization: Informatimago Message-ID: <874nyycega.fsf@kuiper.lan.informatimago.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1332967074 2565 80.91.229.3 (28 Mar 2012 20:37:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Mar 2012 20:37:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 28 22:37:53 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SCzcu-0004Vd-Rd for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Mar 2012 22:37:52 +0200 Original-Received: from localhost ([::1]:57706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCzct-0000dW-Qm for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Mar 2012 16:37:51 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-X-Trace: individual.net 7W1oGkkjBJVxgzC7m9AguA+OR/qvII6sLfaf0gFoNgTu0+2OpX Cancel-Lock: sha1:NDE3MWIwYjdlZGY1ZTJiMTY5ZjcyOTZjODhjZjhjZTdmMmYwNDc5YQ== sha1:tRvvm0akdTilEYaC9a94DCUVsn4= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:189450 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84156 Archived-At: Andrea Crotti writes: > 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? I did something similar for the asm-7090 "mode" I wrote: https://gitorious.org/com-informatimago/emacs/blobs/master/pjb-asm7090.el See asm7090-describe-codop. You could even do that in a post-command-hook, or on mouse or arrow events so that the instructions are always explained. It would also possible to attach tooltips to the instructions so that you get the description on a mouse over. (Since I used that mode to transcribe asm-7090 code, I call asm7090-describe-codop in the command bound to RET, as you can see in asm7090). -- __Pascal Bourguignon__ http://www.informatimago.com/ A bad day in () is better than a good day in {}.