flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > Windows > Calling basic WinAPI functions | 
  
| Author | 
  | 
              
| 
                  
                   revolution 23 Mar 2014, 09:36 
                  See the MSCOFF.ASM example. 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   sid123 23 Mar 2014, 11:06 
                  Nope. There is no difference between A and 65. 
 
                  
                Try this program: Code: 
db 65d
    And this: Code: 
db 'A'
    Assemble with FASM and open with a text editor. (Make sure you're in ASCII/Text Mode) in both cases you'll see a A. Next switch to decimal mode, in both cases you'll see a 65. It's just a way how you represent them, like 0x0A is a hexadecimal while 10 is a decimal, however they are equal. So no difference.  | 
              |||
                  
  | 
              
| 
                  
                   revolution 23 Mar 2014, 11:30 
                  SysWorm wrote: Side-question: when using chars - what is faster - 'A' or 65d? Or there isn't a speed difference?  | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.