Einzelnen Beitrag anzeigen
Alt 17.01.10, 13:04   #56 (permalink)
Extinction
 
Benutzerbild von Extinction
 
Registriert seit: 02.01.07
Extinction Leistung: Facit NTK
Likes: 0
Standard

Wenn wir schonmal dabei sind: 415 Zeichen NASM. Hab verloren, auch wenn ich's noch ein bischen stutze... xD
Code:
section .data
    X    db    'I will not throw paper airplanes into the class.',10
    XLen    equ    $ - X

section .bss
    buffer:        resb    1337 ; LEET!

section    .text
    global _start

_start:
    mov    BYTE[buffer],500
echo:
    pop    ecx
    mov    [ergebnis],ecx
    mov    eax,4
    mov    ebx,1
    mov    ecx,X
    mov    edx,XLen
    int    80h
    dec    BYTE[buffer]
    mov    eax,[buffer]
    test    eax,eax
    jnz    echo    

    mov    ebx,eax
    mov    eax,1
    int    80h
ret
Wird aber langsam ziemlich OT das Ganze...
Extinction ist offline   Mit Zitat antworten
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61