Created
November 26, 2010 20:05
-
-
Save macmade/717165 to your computer and use it in GitHub Desktop.
The whole universe, coded with 236 characters of assembly code...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BITS 16 | |
before_big_bang: | |
cli | |
mov ax, 0x07C0 | |
mov ds, ax | |
mov es, ax | |
xor ax, ax | |
mov ss, ax | |
mov sp, 0xFFFF | |
sti | |
push WORD 0x0050 | |
push WORD 0x0000 | |
retf | |
after_big_bang: | |
xor cx, cx | |
mov cx, 00010101b | |
add cx, 1 | |
nop | |
loop after_big_bang |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment