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
;THIS IS A SIMPLE PROGRAM TO DISPLAY A MESSAGE ON THE ;SCREEN. SHOULD OUTPUT This is a message! TO SCREEN AND ;RETURN WITH NO ERRORLEVEL. THIS CAN’T BE MADE INTO A ;COM FILE WITH TLINK AS IT GENERATES AN ERROR. .MODEL SMALL ;Ignore the first two lines ;I'll explain what this means later. .STACK ;allocate a stack .CODE ;a directive to start code segment
...
-
1 2 3 4 5 6 7 8 9
;THIS IS A SIMPLE PROGRAM TO DISPLAY A MESSAGE ON THE ;SCREEN. SHOULD OUTPUT This is a message! TO SCREEN AND ;RETURN WITH NO ERRORLEVEL. THIS CAN’T BE MADE INTO A .COM FILE WITH TLINK AS IT GENERATES AN ERROR. .MODEL SMALL ;Ignore the first two lines ;I'll explain what this means later. .STACK ;allocate a stack .CODE ;a directive to start code segment
...
-
1 2 3 4 5 6 7 8
global _start section .data section .text _start: je exit
...
-
1
mov eax,1
-
1
MOV AX, BX
-
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
section .text global _start _start: mov edx,len mov ecx,msg mov ebx,1 mov eax,4 int 0x80
...
-
1 2 3 4 5 6 7 8 9
global _start section .data buffer dw 0h section .text _start: mov ecx, buffer
...
-
1
-
1 2 3 4 5 6 7
class Ex { public static void main(String ex[]) { System.out.println("HELLO"); } }
-
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
l,kl
-
1 2 3 4 5 6 7 8 9
// your name goes here #include <iostream> #include <string> #include <iomanip> using namespace std;
...
-
1 2 3 4 5 6 7 8 9
// your name goes here #include <iostream> #include <string> #include <iomanip> using namespace std;
...
-
1 2 3 4 5 6 7 8 9
global _start section .data buf db '--------$' section .code mov ax, 10 ; Load the value to convert
...
-
1 2 3 4 5 6 7 8 9
mov ax, 10 ; Load the value to convert mov dx, 80h ; Mask with first bit set = 10000000 in binary mov cx, 8 ; How many bits to scan mov di, OFFSET, buf ; Load address of a first symbol in output buffer next_bit: test ax, dx ; Testing the bit jz store_zero ; Bit is not set
...
-
1 2 3 4 5 6 7 8
mov ax, 10 ; Load the value to convert mov dx, 80h ; Mask with first bit set = 10000000 in binary mov cx, 8 ; How many bits to scan mov di, OFFSET buf ; Load address of a first symbol in output buffer next_bit: test ax, dx ; Testing the bit jz store_zero ; Bit is not set
...
-
1 2 3 4 5 6 7 8 9
.code mov ax, 10 ; Load the value to convert mov dx, 80h ; Mask with first bit set = 10000000 in binary mov cx, 8 ; How many bits to scan mov di, OFFSET buf ; Load address of a first symbol in output buffer next_bit: test ax, dx ; Testing the bit
...
-
1 2 3 4 5 6 7 8 9
.data buf db '--------$' .code mov ax, 10 ; Load the value to convert mov dx, 80h ; Mask with first bit set = 10000000 in binary mov cx, 8 ; How many bits to scan
...
-
1 2 3 4 5 6 7 8 9
;; Dec2Bin--translate a decimal character string into its equivalent ;; binary number ;; ;; Input: ;; ds:si points to the first character of the string ;; ;; Output: ;; If there is no error, the carry flag is clear and we have: ;; ax = value translated
...
-
1 2 3 4 5 6 7 8 9
;; Dec2Bin--translate a decimal character string into its equivalent ;; binary number ;; ;; Input: ;; ds:si points to the first character of the string ;; ;; Output: ;; If there is no error, the carry flag is clear and we have: ;; ax = value translated
...
-
1 2 3 4 5 6 7 8 9
;; Dec2Bin--translate a decimal character string into its equivalent ;; binary number ;; ;; Input: ;; ds:si points to the first character of the string ;; ;; Output: ;; If there is no error, the carry flag is clear and we have: ;; ax = value translated
...
-
1 2 3 4 5 6 7 8 9
;; Dec2Bin--translate a decimal character string into its equivalent ;; binary number ;; ;; Input: ;; ds:si points to the first character of the string ;; ;; Output: ;; If there is no error, the carry flag is clear and we have: ;; ax = value translated
...
-
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
segment .data msg1 db '', 0 msg2 db 10 msg2size equ $ - msg2 msg3 db '-' msg3size equ $ - msg3 segment .text
...
-
1 2 3 4 5 6 7 8
segment .data msg1 db '', 0 msg2 db 10 msg2size equ $ - msg2 msg3 db '-' msg3size equ $ - msg3 segment .text
...
-
1 2 3 4 5 6 7 8
segment .data msg1 db '', 0 msg2 db 10 msg2size equ $ - msg2 msg3 db '-' msg3size equ $ - msg3 segment .text
...
-
1 2 3 4 5 6 7 8
segment .data msg1 db '', 0 msg2 db 10 msg2size equ $ - msg2 msg3 db '-' msg3size equ $ - msg3 segment .text
...


