.globl _start
_start:
    movl $183,%eax      # getcwdS
    movl $m1,%ebx       # address
    movl $100,%ecx      # size
    int $0x80

    movb $8,%al      # creatS
    movl $m2,%ebx    # filename
    movb $0,%cl      # attribute
    int $128

    movl %eax,%ebx   # descriptor
    movb $4,%al      # write
    movl $m1,%ecx    # address text
    movb $56,%dl     # size (full struct = 56 bytes)
    int $128



    movb $0x1,%al
    int $0x80

.data
m2: .string "test"
m1: .byte 0

