It looks like you're new here. If you want to get involved, click one of these buttons!
\"Hello, World!\"
#!/usr/bin/perl
print \"Hello, World!\n\";
#!/usr/bin/python
print \"Hello, world!\"
#include <stdio.h>
int main()
{
printf(\"Hello, world!\n\");
return 0;
}
#include <iostream>
main()
{
std::cout << \"Hello, World!\n\";
return 0;
}
#! /usr/bin/env python
print('!dlroW ,olleH' [::-1])
.data
hello: .string \"Hello, World!\"
.global_start
_start:
movl $4, %eax
movl $1, %ebx
movl $hello, %ecx
int $0x80
movl $1, %eax
int $0x80
.data #data segment
hello: #hello variable
.ascii \"Hello, World!\n\" #ascii string
.text #text segment
.global _start #marks start point of program
_start: #start of program
movl $4, %eax #write
movl $1, %ebx #output
movl $hello, %ecx #pointer to variable hello
movl $13, %edx #gives length of variable (hello)
int $0x80 #initialise: prints variable
movl $1, %eax #sys call: exit
movl $0, %ebx #exit code
int $0x80 #initialise: exit program