Recent public codes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C++0x
- C99 strict
- CLIPS
- Clojure
- COBOL
- COBOL 85
- Common Lisp (clisp)
- D (dmd)
- Erlang
- F#
- Factor
- Falcon
- Forth
- Fortran
- Go
- Groovy
- Haskell
- Icon
- Intercal
- Java
- JavaScript (rhino)
- JavaScript (spidermonkey)
- Lua
- Nemerle
- Nice
- Nimrod
- Objective-C
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- SQL
- Tcl
- Text
- Unlambda
- VB.NET
- Whitespace
-
1 2 3 4 5 6 7 8 9
section .text global _start: _start: mov eax, 4 mov ebx, 1 mov ecx, string mov edx, lenght int 80h
...
-
1 2 3 4 5 6 7 8 9
section .text global _start: _start: mov eax, 4 mov ebx, 1 mov ecx, string mov edx, lenght int 80h
...
-
1 2 3 4 5 6 7 8 9
[bits 64] global _start section .data message db "Hello, World!" section .text _start: mov rax, 1
...
-
1
-. ....- ---.. ..--- ....- .-.-.- ...-- -.... .---- . ----- .---- ----- ----- ----- .-.-.- ---.. ----- .---- .... .. -. .-- . .. ... -.. --- ... . -.--.- --- -... . -. .-. . ---- - ... .-.. .. -. -.- ... -.--.- ..-. ..-- .... .-. - . ..- ---- --.. ..- -- ..-. .. -. .- .-.. .-.-.-
-
1 2 3 4 5 6 7 8 9
00000000 E8 00 00 00 00 call 0x00000005 00000005 5B pop ebx ; mov ebx, ip 00000006 8B CB mov ecx, ebx 00000008 83 C3 1E add ebx, 0x1E 0000000B 33 C0 xor eax, eax ; clear eax, edx 0000000D 33 D2 xor edx, edx 0000000F 8A 03 mov al, [ebx] 00000011 8A 11 mov dl, [ecx] 00000013 32 C2 xor al, dl
...
-
1
mov ax, 1
-
1 2 3 4 5
MOV A,#02H CLR C SUBB A ,#01H SUBB A ,#01H SUBB A ,#01H
-
1 2 3 4 5 6 7 8 9
global _start section .data buffer dw 0h section .text _start: mov ecx, buffer
...
-
1 2 3 4 5 6 7 8 9
;Forfatter : Navn ;Projekt : Navn ; Dato : xx /* d: 15/1-2010, ændret så der kan skrives æøå, ÆØÅ i tekststring'en.
...
-
1 2 3 4 5 6 7 8 9
global _start section .data buffer dw 0h section .text _start: mov ecx, buffer
...
-
1 2 3 4 5 6
>+[>>,----------[>,----------]+++++[<-------->-]<[>>-<]>+[ -<+++++++[<------>-]<[>>-<]>+[ -<<[>>-<]>+[<<->>->]> ]<+++++++[<++++++>-]>> ]<++++++++[<+++++>-]< [<]<[>>[++++++++++.>]++++++++++.[[-]<]]<]
-
1 2 3 4 5 6 7 8
.model tiny .data .code Org 100h Start: Mov ax, 1121h Mov bx, ax End start
-
1
Mov ax,t
-
1
Mov ax,5
-
1 2 3 4 5 6 7 8 9
global _start section .data buffer dw 0h section .text _start: mov ecx, buffer
...
-
1 2 3 4 5 6 7 8 9
global _start section .data buffer dw 0h section .text _start: mov ecx, buffer
...
-
1 2 3 4 5 6
MOV AH,02 MOV DL,"!" INT 21h MOV AH,04Ch MOV AL,00 INT 21h
-
1 2 3 4 5 6 7 8 9
global _start section .data buffer dw 0h section .text _start: mov ecx, buffer
...
-
1 2 3 4 5 6 7 8 9
global _start section .data buffer dw 0h section .text _start: mov ecx, buffer
...
-
1
110011
-
1 2 3 4 5 6 7 8 9
#include<stdio.h> main() { long double num; long double n=num-1; printf("please enter your number:\n"); scanf("%Lf",&num); for(n=num-1;n>1;n-=1) num=num*n; printf("result =%Lg\n\n",num); }
-
1 2 3 4 5 6 7 8 9
global _start section .data buffer dw 0h section .text _start: mov ecx, buffer
...
-
1 2 3 4 5 6 7 8 9
global _start section .data buffer dw 0h section .text _start: mov ecx, buffer
...
-
1 2 3 4 5 6 7 8 9
Assume cs:code, ds:code Code Segment org 100h start: mov ax,cs mov ds,ax ; установка видеорежима mov ah, 0 mov al, 3 int 10h
...
-
1 2 3 4 5 6 7 8 9
global _start section .data buffer dw 0h section .text _start: mov ecx, buffer
...
-
1 2 3 4 5 6 7 8 9
with Ada.Integer_Text_Io, Ada.Text_Io; use Ada.Integer_Text_Io, Ada.Text_Io; procedure Test is subtype Small is Integer range 0..99; Input : Small; begin loop Get(Input);
...
-
1 2 3 4 5 6 7 8 9
section .data ; section for initialized data str: db 'Hello world!', 0Ah ; message string with new-line char at the end (10 decimal) str_len: equ $ - str ; calcs length of string (bytes) by subtracting this' address ($ symbol) from the str's start address section .text ; this is the code section global _start ; _start is the entry point and needs global scope to be 'seen' by the linker -equivalent to main() in C/C++ _start: ; procedure start mov eax, 4 ; specify the sys_write function code (from OS vector table) mov ebx, 1 ; specify file descriptor stdout -in linux, everything's treated as a file, even hardware devices
...
-
1 2 3 4 5 6
#include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MessageBox (NULL, "Hello World" , "Tutorial", 0); return 0; }
-
1 2 3 4 5 6 7 8 9
.686 .model flat public _kula .code _kula PROC ;prolog push ebp mov ebp,esp
...
-
1 2 3 4 5 6 7 8
global _kula _kula: push EBP mov EBP, ESP mov EAX,0 finit push 2
...


