Так и не понял, что там за ассм, хоть автор и утверждает, что: "In order to compile the project you will need to clone and checkout the latest version of FreshLibDev branch of Fresh IDE repository and flatassembler or Fresh IDE as compiler.

" 😥

Комментарии

  • 3 янв 2017 15:50
    У меня инет плохой, исходники не открываются, а все коменты читать не хочется, пытаюсь компилить на обероне. На асме можно написать все, дело во времени
  • 3 янв 2017 15:59
    Чистый FASM:

    format ELF executable 3

    entry start

    segment readable executable

    start:

    mov eax,4

    mov ebx,1

    mov ecx,msg

    mov edx,msg_size

    int 0x80

    mov eax,1

    xor ebx,ebx

    int 0x80

    segment readable writeable

    msg db 'Hello world! ****',0xA

    msg_size = $-msg


    FASM в коде сайта:
    .data

    msg:

       .asciz "Hello, world!\n"

    .extern printf

    .text

       .global main # entry point

    main:

       movl %esp, %ebp # for correct debugging

       pushl $msg

       call printf

       addl $4, %esp

       xorl %eax, %eax

       ret

       

  • 3 янв 2017 16:59
    Ты будешь смеятся, но вторая половина кода написана в синтаксисе AT&T
  • 3 янв 2017 17:00
    Я в курсе. И вижу бред!