home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,955 of 4,675   
   firr to All   
   asm improvements?   
   25 Aug 17 17:25:23   
   
   From: profesor.fir@nospicedham.gmail.com   
      
   i made some early version of my anonced assembler (of x86/win32)   
      
   can be downloaded and checked here   
      
   minddetonator.htw.pl/organic4.zip   
      
   right now i typed only few mnemonics   
   in (what comes to my head at start)   
   it is able mostly to compile what i   
   typed in this example asm file   
      
      
   .code   
      
     mov eax 7   
     call print_eax   
      
   hoo:   
     add eax 3   
     call print_eax   
     jmp hoo   
      
     sub eax 5   
     call print_eax   
      
     imul eax 8   
     call print_eax   
      
     mov eax some_value   
     call print_eax_hex   
      
     mov ecx eax   
     mov eax (ecx)   
     call print_eax   
      
      
     mov eax 55   
     cmp eax 5   
     jne skip   
     mov eax 100   
     call print_eax   
   skip:   
     mov eax 200   
     call print_eax   
      
     mov eax 10   
   back:   
     dec eax   
     call print_eax   
     cmp eax 0   
     jne back   
      
    zzzzz   
      
     call print_esp   
     call show_msgbox_hello   
     call print_esp   
     call show_msgbox_hello   
      
     push 0   
     call kernel32.ExitProcess   
      
   print_esp:   
     mov eax esp   
     push eax   
     push note_esp   
     call msvcrt.printf   
     pop eax   
     pop eax   
     ret   
      
   print_eax:   
     push eax   
     push note_eax   
     call msvcrt.printf   
     pop eax   
     pop eax   
     ret   
      
   print_eax_hex:   
     push eax   
     push note_eax_hex   
     call msvcrt.printf   
     pop eax   
     pop eax   
     ret   
      
   show_msgbox_hello:   
     push 0   
     push null_string   
     push hello_message   
     push 0   
     call user32.MessageBoxA   
     ret   
      
   test:   
     mov eax (ecx)   
     mov (ecx) eax   
     ret   
      
   .data   
      
   note_eax:    " eax = %d  "  10 0   
   note_eax_hex:    " eax = %x  "  10 0   
      
   note_esp:   " esp = 0x%08x " 10  0   
      
   hello_message:   " hello asm world ! "  0   
   null_string:   0   
   some_value: 33 0 0 0   
      
   (mnemonics right now are very limited but at least any dll call can be done)   
      
      
   im searching though for ideas what to type in next, (to wearysome to type   
   everything so i need to type most important and fun things first)   
      
   maybe some interesting snipped i could   
   type in mnemonics for and make it assembly in this assembler?   
      
   tnx for ideas   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca