Linux assembly comiled successfully
来源:互联网 发布:java saas架构设计 编辑:程序博客网 时间:2024/06/03 17:39
.datamsg:.string "hello,world!\n"len=.-msg.text.global _start_start:movl $len,%edxmovl $msg,%ecxmovl $1,%ebxmovl $4,%eaxint $0x80movl $0,%ebxmovl $1,%eaxint $0x80
as -o hello.o hello.s
as may only compile source file but not linked!
ld -s -o hello hello.o
./hello
hello,world!
0 0
- Linux assembly comiled successfully
- linux AT &T Assembly
- Using Assembly Language in Linux
- Using Assembly Language in Linux
- Using Assembly Language in Linux
- linux compile source to ko(kernel object) successfully!
- Assembly
- Assembly
- assembly
- Introduction to Linux Intel Assembly Language
- Linux Assembly "Hello World" Tutorial, CS 200
- Guide to Assembly Language Programming in Linux
- Assembly in Linux (Stack, External Procedure)
- Introduction to Linux Intel Assembly Language
- Hello Gtk+ in Linux Assembly Language
- linux arm programming in assembly language
- Assembly Language Step-by-step: Programming with DOS and Linux
- Assembly Language Step-by-step: Programming with DOS and Linux
- Python3:urllib.request详解
- 管道命令
- 输入时间与当前时间对比
- Linux文件权限
- Java里的文件和文件夹操作
- Linux assembly comiled successfully
- 完美结合LruCache和DiskLruCache实现Android照片墙
- 虚函数继承机制
- poj 2892 Tunnel Warfare(树状数组+二分)
- 很久没更新日志,这个日子有意义
- 《Pro git》学习笔记
- 链表中倒数第k个结点
- UIFramework之Unity4.x AssetBundle打包策略
- pagerank算法