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
.data x: .long 0 s: .string "%d\n\0" .text .global main main: # int main()
...
-
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
input_a: xor ah,ah int 16h cmp al,48 ; '0' jb input_a cmp al,57 ; '9' ja input_a mov bl,al
...
-
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
p¬¤:ƒ\0åQµes£Óå1hWòIå<ˆ®ÁÀÏ#>¾õÍuk,ÆM…•FŽKc“žq𻥨Âñ\ÊêJÆOV<úƒê°uK¦ŽäÄ¢EB3‚ìsžüš×šú".i¦£ä,v÷eüÌ=䨽éÖOª]²G«’C¡9Ã;ŽÂ°-î°ÝIç¥v6ºlY$„:É3–\ŽOcêk¶‚».:½kû—¾¹.€ á Çå³P7ÞéÜöíXÒy ¢Ä
-
1 2 3 4 5 6 7 8 9
code segment assume cs:code,ds:code org 100h start: mov bl,2bh mov cl,4 mov dl,bl shr dl,cl add dl,30h
...
-
1 2 3 4 5 6
assume cs:code code start start: mov ax,2 code ends end start
-
1 2 3 4 5 6
global _start start: mov ax,30 mov bx,20 add ax,bx add bx,ax
-
1 2 3 4 5 6
start: mov ax,30 mov bx,20 add ax,bx add bx,ax
-
1 2 3 4 5 6 7
start: mov ax,1 mov bx,1 add ax,1 add bx,1 jmp start
-
1 2 3 4 5 6 7
org 0 start: mov ax,1; mov bx,1; add ax,1; add bx,1; jmp start;
-
1 2 3 4 5 6 7 8 9
A small program that calculates and prints terms of the Fibonacci series ; fibo.asm ; assemble using nasm: ; nasm -o fibo.com -f bin fibo.asm ; ;**************************************************************************** ; Alterable Constant ;****************************************************************************
...
-
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
global _start section .data buffer dw 0h section .text _start: mov ecx, buffer
...
-
1
write "helloworld"
-
1
print "helloworld"
-
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
; The data section contains variables section .data msg db 'hello world!', 0xa len equ $ - msg ; The text section contains the source code section .text global _start:
...
-
1 2 3 4 5 6 7 8 9
global _start read: push ax, 03h ; read() push bx, 00h ; stdin write:
...
-
1 2 3 4 5 6 7 8 9
global _start read: push ax, 03h ; read() push bx, 00h ; stdin write:
...
-
1 2 3 4 5 6 7 8
global _start _start: mov ax, 1234h mov bx, 56789h
...
-
1 2 3 4 5 6 7 8 9
global _start section .data buffer dw 0h section .text _start: mov ax, 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
global _start section .data buffer dw 0h section .text _start: mov ecx, buffer
-
1 2 3 4 5 6 7 8 9
.model small .stack 256 .code start: mov dl, 'X' mov ah, 2h
...
-
1 2 3 4 5 6 7 8 9
section .data msg db 'Hello, world!',0xA len equ $-msg section .text global _start _start: mov edx,len mov ecx,msg
...
-
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
#include <iostream.h> #include <stdio.h> main() { char a[10],qw[26]="abcdefghijklmnopqrstuvwxyz";; int b,c[10]; int wq[25],as[10],sa[10]; cin.getline(a,11);
...


