flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > Main > Problem with "int 3" and debugging | 
  
| Author | 
  | 
              
| 
                  
                   revolution 28 Aug 2014, 21:43 
                  Use "int3", not "int 3" (note the lack of space in int3). Many debuggers can't properly deal with the long form of int3. 
                 | 
              |||
                  
  | 
              
| 
                  
                   neville 28 Aug 2014, 22:00 
                  And note that fasm assembles INT 3 (with the space) as CD 03 as you've found, but assembles INT3 as the single-byte equivalent CC.
 
However, GRDB does not support the INT3 mnemonic at all. It requires the INT 3 syntax but assumes the single-byte encoding version equivalent to INT3 in fasm! _________________ FAMOS - the first memory operating system  | 
              |||
                  
  | 
              
| 
                  
                   StrenoJr 29 Aug 2014, 08:30 
                  Thanks for you replies.
 
                Do you know why there are two forms of int3?  | 
              |||
                  
  | 
              
| 
                  
                   revolution 29 Aug 2014, 08:35 
                  StrenoJr wrote: Do you know why there are two forms of int3?  | 
              |||
                  
  | 
              
| 
                  
                   DOS386 19 Sep 2014, 09:16 
                  There is also even more silly INT1 instruction ($F1) ... AKA ICEBP http://www.rcollins.org/secrets/opcodes/ICEBP.html 
                 | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.