_nosay 发表于 2016-06-13 13:38

本帖最后由 _nosay 于 2016-06-13 14:36 编辑

@Godbach @nswcfd

介绍at&t格式的权威资料有哪些?
http://download.csdn.net/download/z36451298/4055525

int main()
{
      __asm__(
      ".code16gcc"
      "push %es\n\t"
      );

      return 0;
}

~/test/opcode$ gcc test.c -g -Wall
/tmp/ccXmRLmv.s: Assembler messages:
/tmp/ccXmRLmv.s:27: Error: bad register name `%rbp'

http://www.cnblogs.com/youxia/p/linux008.html

Godbach 发表于 2016-06-13 14:14

回复 11# _nosay

有一本介绍 Linux 下汇编语言的书,http://item.jd.com/10057711.html
这本书挺好的,你找下有没有 PDF。

我当时看了一下这本书,还不错。


   

_nosay 发表于 2016-06-13 14:26

回复 12# Godbach

:em09:

nswcfd 发表于 2016-06-13 16:19

info gas

其中9.13, 80386 Dependent Features

nswcfd 发表于 2016-06-13 16:21

http://item.jd.com/11410551.html

这本书不知道怎么样?

_nosay 发表于 2016-06-13 16:36

回复 15# nswcfd

通过目录看,写的应该挺生动的。

爻易 发表于 2016-06-13 20:00

-为什么你想做那件事情?
-因为我想知道它的工作原理!

_nosay 发表于 2016-06-13 20:37

回复 17# 爻易

:em09:
页: 1 [2]
查看完整版本: "push %ds\n\t" ?