Chinaunix首页 | 论坛 | 博客
  • 博客访问: 397502
  • 博文数量: 101
  • 博客积分: 2207
  • 博客等级: 大尉
  • 技术积分: 2508
  • 用 户 组: 普通用户
  • 注册时间: 2011-04-19 20:45
文章分类

全部博文(101)

文章存档

2013年(15)

2012年(86)

我的朋友

发布时间:2012-12-31 16:28:03

是 statement 和expression 也就是 语句 和 表达式......【阅读全文】

阅读(3298) | 评论(0) | 转发(1)

发布时间:2012-12-31 16:18:55

C代码手写了Makefile,Makefile内容如下 点击(此处)折叠或打开CC = gccCFLAGS = -g -WallBINARY = mainBASEOBJS = $(patsubst ./%.c, %.o, $(wildcard ./*.c)).PHONY: all cleanall: $(BINARY)$(BINARY): $(BASEOBJS)    $(CC) $(CFLAGS) -o $@ $(BASEOBJS)clean:    rm -f $(BASEOBJS) $(BINARY)%.o:......【阅读全文】

阅读(1704) | 评论(0) | 转发(3)

发布时间:2012-12-31 11:29:56

Linux下有哪些系统调用,在哪里可以查到在/usr/include/asm/unistd.h具体内容如代码所示 点击(此处)折叠或打开/* File autogenerated by 'make headers_install' */#ifndef __ASM_STUB_UNISTD_H#define __ASM_STUB_UNISTD_H# if defined __x86_64__# include <asm-x86_64/unistd.h># elif defined __i386__# include <asm-i386/unistd.h># else# ......【阅读全文】

阅读(2044) | 评论(0) | 转发(1)

发布时间:2012-12-30 04:11:04

http://heather.cs.ucdavis.edu/~matloff/50/LinuxAssembly.htmlhttp://docs.cs.up.ac.za/programming/asm/derick_tut/index.html......【阅读全文】

阅读(639) | 评论(0) | 转发(1)

发布时间:2012-12-29 22:20:32

nasm -f elf f.asmld -m elf_i386 -s -o f.out f.o 点击(此处)折叠或打开section.data hello: db 'Hello world!', 10 helloLen: equ 13section .textglobal _start_start: mov eax, 4 mov ebx, 1 mov ecx, hello mov edx, helloLen int 80h mov eax, 1 mov ebx, 0 int 80h......【阅读全文】

阅读(505) | 评论(0) | 转发(1)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册