你如何让一个汇编程序? [英] How Do You Make An Assembler?

查看:165
本文介绍了你如何让一个汇编程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想作一个简单的x86汇编。我不知道是否有制作自己的汇编任何教程。或者,如果有一个简单的汇编程序,我可以学习。

I'd like to make a simple x86 assembler. I'm wondering if there's any tutorials for making your own assembler. Or if there's a simple assembler that I could study.

另外,我不知道什么工具在寻找和处理程序二进制/六角使用。

Also, I wonder what tools are used in looking at and handling the binary/hex of programs.

推荐答案

这是你在找什么:

组装机和装载机 - 大卫·所罗门。 2月出版,1993年版 - 免费提供(下载这里

Assemblers And Loaders - By David Salomon. Published February, 1993 - Freely available (download here)

Ofcourse,你将需要:

Ofcourse you are going to need:


  1. 英特尔®64和IA-32架构软件开发人员手册

  2. AMD-64架构的程序员手册

  3. 链接程序和由John R. Levine的(免费提供)
  4. 装载机
  5. ELF文件格式规范: System V的ABI更新

  6. Microsoft可移植可执行文件和通用对象文件格式规范

  1. Intel® 64 and IA-32 Architectures Software Developer's Manuals
  2. AMD-64 Architecture Programmers manual
  3. Linkers and Loaders by John R. Levine (freely available)
  4. ELF File Format Specifications : System V ABI Update
  5. Microsoft Portable Executable and Common Object File Format Specification

您可以随时参考开源汇编的实现。

You can always refer to implementations of Opensource Assemblers


  1. 网际汇编器(NASM)

  2. GNU汇编(GAS)

  1. Netwide Assembler (NASM)
  2. Gnu Assembler (GAS)

这篇关于你如何让一个汇编程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆