Merge commit 'repo.or.cz/mob'
This commit is contained in:
2
c++.cpp
2
c++.cpp
@@ -2,5 +2,5 @@
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
int main(){
|
int main(){
|
||||||
cout << "Hello World\n";
|
cout << "Hello World" << endl;
|
||||||
}
|
}
|
||||||
|
|||||||
2
c.c
2
c.c
@@ -1,6 +1,6 @@
|
|||||||
#include<stdio.h>
|
#include<stdio.h>
|
||||||
|
|
||||||
int main() {
|
int main(void) {
|
||||||
printf("Hello World\n");
|
printf("Hello World\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
1
clisp.lisp
Normal file
1
clisp.lisp
Normal file
@@ -0,0 +1 @@
|
|||||||
|
(write-line "Hello World")
|
||||||
5
csharp.cs
Normal file
5
csharp.cs
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
class HelloWorld {
|
||||||
|
static void Main() {
|
||||||
|
System.Console.WriteLine("Hello World");
|
||||||
|
}
|
||||||
|
}
|
||||||
6
delphi.pas
Normal file
6
delphi.pas
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
program HelloWorld;
|
||||||
|
{$APPTYPE CONSOLE}
|
||||||
|
|
||||||
|
begin
|
||||||
|
WriteLn('Hello World');
|
||||||
|
end.
|
||||||
3
fortran.f90
Normal file
3
fortran.f90
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
program helloworld
|
||||||
|
print *,'Hello World'
|
||||||
|
end program helloworld
|
||||||
4
haskell.hs
Normal file
4
haskell.hs
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
module Main
|
||||||
|
where
|
||||||
|
|
||||||
|
main=putStrLn "Hello, World!"
|
||||||
18
linux-x86.nasm
Normal file
18
linux-x86.nasm
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# nasm linux-x86.nasm -o linux-x86.o -f elf && ld linux-x86.o -m elf_i386 -o linux-x86
|
||||||
|
|
||||||
|
section .data
|
||||||
|
msg db "Hello World", 0xa
|
||||||
|
len equ $ - msg
|
||||||
|
|
||||||
|
section .text
|
||||||
|
global _start
|
||||||
|
_start:
|
||||||
|
mov eax, 4
|
||||||
|
mov ebx, 1
|
||||||
|
mov ecx, msg
|
||||||
|
mov edx, len
|
||||||
|
int 0x80
|
||||||
|
|
||||||
|
mov eax, 1
|
||||||
|
mov ebx, 0
|
||||||
|
int 0x80
|
||||||
Reference in New Issue
Block a user