flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > Windows > Converting MASM code | 
  
| Author | 
  | 
              
| 
                  
                   TmX 18 Jan 2009, 14:36 
                  This is a code about autotyping, written in MASM
 
                  
                Code: .386 .model flat,stdcall option casemap:none include \masm32\include\windows.inc include \masm32\include\user32.inc include \masm32\include\kernel32.inc includelib \masm32\lib\user32.lib includelib \masm32\lib\kernel32.lib .data msg db 'Hello Netters in Hanjian Site (http://hanjian.web.id)',13,10 db 'Ini adalah Contoh AutoType with MASM32. It's taken from here: http://www.hanjian-oke.co.cc/2008/08/autotype-with-asm-by-hanjian.html This is my attempt to translate it to FASM: Code: format PE console 4.0 entry start include 'win32a.inc' include 'api/kernel32.inc' include 'api/user32.inc' section '.data' data readable writeable msg db 'Hello Netters in Hanjian Site (http://hanjian.web.id)',13,10 db 'Ini adalah Contoh AutoType with FASM When I tried to compile it, FASM said: Quote: 
 How to fix that?  | 
              |||
                  
  | 
              
| 
                  
                   LocoDelAssembly 18 Jan 2009, 15:01 
                  Code: mov al, byte [edx] ; or just mov al, [edx] since "byte" is implicit  | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.