Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

ENTERPRISE ASM PROGRAMS

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

Name: Anonymous 2011-12-17 2:21

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

Name: Anonymous 2011-12-17 3:26

Name: Anonymous 2011-12-17 7:59

>>3
Stack-based operators. How amusing.

Name: Anonymous 2011-12-17 14:26

>>4

We must make a jvm cpu architecture. It simply must be done.

Name: Anonymous 2011-12-17 15:11

>>5
Arm 8 or 9 can already support Java Bytecode natively

Name: Anonymous 2011-12-17 15:55

>>6

wow, well that's impressive. Dare I ask if it has hardware support for gcing?

Name: Anonymous 2011-12-17 16:46

>>6
already
It was introduced in the v5 arch 8 years ago.

>>7
It's not a JVM, it will not run an entire program in bytecode and it doesn't do GC.

It's not all that impressive considering its the least useful mode the processor be put into.

Name: Anonymous 2011-12-17 16:56

JAVA IS SHIT!

Name: Anonymous 2011-12-17 16:59

>>8

then the task has yet to be completed! We must have an architecture that has special storage for classes, with super and this registers, and a hardware accelerated non blocking copying garbage collector!!

Name: Anonymous 2011-12-17 17:07

>>5
Already exists. There's even an open-source IP core for it.

Name: Anonymous 2011-12-17 17:46

>>10
Why don't you just go to a landfill and dig up a Lisp machine.

Name: Anonymous 2011-12-18 3:26

>>12
Lisp machine
*Stack-based VM
*Garbage Collector
Java is Lisp!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List