Name: Anonymous 2011-12-16 21:27
/PROG/ I THINK IT'S TIME WE HAVE A ENTERPRISE ASM PROGRAMS THREAD TO SHOW OFF THE POWER OF ASM
FUCK JAVA
FUCK JAVA
bits 32
section .bss
bar resb 512
section .data
foo db "java ", 0
baz db "No ENTERPRISE PROGRAM'S path was given", 10, 0
section .text
global _main
extern _strcpy, _strcat, _system, _printf
_main:
push dword foo
push dword bar
call _strcpy
add esp, 8
mov eax, [esp + 4]
cmp al, 2
je .do
push dword baz
call _printf
jmp .end
.do:
mov ebx, [esp + 8]
push dword [ebx + 4]
push dword bar
call _strcat
add esp, 8
push dword bar
call _system
.end:
add esp, 4
xor eax, eax
ret
super and this registers, and a hardware accelerated non blocking copying garbage collector!!