首页 > 其他分享 >Hello, World!

Hello, World!

时间:2023-07-22 21:01:02浏览次数:29  
标签:movl LC0 LC1 start World Hello

IA32 AT&T Helloworld

#!/usr/bin/env -S gcc -nostdlib -no-pie -o hello
	.section	.rodata
	.align 4
.LC0:
	.ascii	"Hello, World!\n"
.LC1:
	.long	.LC1 - .LC0
	.text
	.globl	_start
	.type	_start, @function
_start:
	movl	$4, %eax
	movl	$1, %ebx
	movl	$.LC0, %ecx
	movl	.LC1, %edx
	int	$0x80		# write to fd=1
	movl	$1, %eax
	movl	$0, %ebx
	int	$0x80		# exit 0
	hlt

标签:movl,LC0,LC1,start,World,Hello
From: https://www.cnblogs.com/lyazj/p/17574229.html

相关文章

  • docker配置文件输出helloworld
    1.在root下创建dockerfilesudo-itouchDockerfilevimDockerfile2.编写helloworld.gopakagemainimport"fmt"funcmain(){fmt.Println("Hello,World!")} 3.配置DockerfileFROMubuntu:22.04ASv1ENVMYNAME="WANGYIDI"WOR......
  • Hello world
    Helloworld!编写代码publicclassHello{publicstaticvoidmain(String[]args){System.out.print("Hello,World!");}}编译javacjava文件,生成class文件运行class文件,javaclass文件......
  • CGO输出helloworld
    使用CGO输出helloworld本人windows版本goversiongo1.18.3windows/amd64dir目录:D:\cgo\mainModeLastWriteTimeLengthName---------------------------d-----2023/7/1921:59......
  • java HelloWorld
    HelloWorld1新建一个文件夹,存放代码2新建一个java文件-java后缀名为.java-Hello.java-[注意点]系统可能没有显示文件后缀名,我们需要手动打开3编写代码publicclassHello{publicstaticvoidmain(String[]args){System.out.println("HelloWorld!"......
  • Hello World
    WelcometoHexo!Thisisyourveryfirstpost.Checkdocumentationformoreinfo.IfyougetanyproblemswhenusingHexo,youcanfindtheanswerintroubleshootingoryoucanaskmeonGitHub.QuickStartCreateanewpost$hexonew"MyNewPost&q......
  • 【HMS Core】AR Engine中,运行时出现../../../../src/main/cpp/world_ar_application.h
    ​【问题描述】1、AREngine中,从官网下载的“NDK示例代码”,运行时出现../../../../src/main/cpp/world_ar_application.h:30:10:fatalerror:'glm.hpp'filenotfound,该如何解决?2、arengine4.0.0.5版本新增秒放特性。不需要扫描平面,就能创建锚点并放置虚拟物体,目前只支持创......
  • Helloworld.py
     1#!/usr/bin/python 2#!coding=utf-8 3#https://www.runoob.com/python/python-tutorial.html 4 5''' 6切记这一行#!usr/bin/python必须放在第一行!!! 7对于大多数程序语言,第一个入门编程代码便是"HelloWorld!",以下代码为使用Python输出"HelloWorld!" ......
  • Helloworld.py
     1#!/usr/bin/python 2#!coding=utf-8 3#https://www.runoob.com/python/python-tutorial.html 4 5''' 6切记这一行#!usr/bin/python必须放在第一行!!! 7对于大多数程序语言,第一个入门编程代码便是"HelloWorld!",以下代码为使用Python输出"HelloWorld!" ......
  • String s=new String(“hello”)的执行过程
    一.介绍String是Java.long包下的String类,是一个特殊的引用类型,用于表示字符串。它提供了许多方法来操作和处理字符串,比如连接、截取、查找、替换等。String类内部使用字符数组(char[])来存储字符串的内容,value字段被final修饰,String对象一旦创建后,其值就不可改变。Strin......
  • cyber hello world
    CPP文件#include<cyber/cyber.h>intmain(intargc,char*argv[]){apollo::cyber::Init(argv[0]);//初始化日志AINFO<<"helloworld"<<endl;//输出日志return0;}BUILD文件及编译执行//demo_cc目录下新建buld文件,demo_cc目录即为cpp所在目......