From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rusi Newsgroups: gmane.emacs.help Subject: Re: assembly programming in Emacs how to Date: Mon, 14 Mar 2011 09:09:21 -0700 (PDT) Organization: http://groups.google.com Message-ID: <541fdd14-0a79-41f2-a740-3d784245cf56@s18g2000prg.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1300120878 12979 80.91.229.12 (14 Mar 2011 16:41:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2011 16:41:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 14 17:41:14 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PzApV-00087A-FW for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Mar 2011 17:41:13 +0100 Original-Received: from localhost ([127.0.0.1]:35159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzApT-0002Sw-N1 for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Mar 2011 12:41:11 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!s18g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 116.73.35.230 Original-X-Trace: posting.google.com 1300119044 3580 127.0.0.1 (14 Mar 2011 16:10:44 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 14 Mar 2011 16:10:44 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s18g2000prg.googlegroups.com; posting-host=116.73.35.230; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:185955 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80099 Archived-At: On Mar 14, 11:54=C2=A0am, =EA=B9=80=ED=83=9C=EC=9C=A4 w= rote: > assembly programming in Emacs how to? > I want Emacs to do following things > 1. assembling > 2. run the just before made program inside Emacs > 3. debugging with watching flags and registers as like ollydbg or softice > 4. decompile executable file for see what assembly codes are made by c > but I don't know how to do this. > could somebody let me know ? emacs is (more or less) an editor. For 1,2 you need an assembler For 3,4 you need a disassembler/debugger Assuming a linux, you can of course call an assembler like gas, a disassembler like objdump, a debugger like gdb from inside emacs. There are also more suitable debuggers for raw object code like edb which you may prefer: http://www.codef00.com/projects#debugger But is that what you are asking??