(page requirements)

View your code in assembly

As you know, every line of code you write has to eventually translate into machine code in order for your computer to understand. If you're interested in seeing the assembly language (easier to understand version of machine code) equelant of what you write while debugging (for example)...
  • Exit Delphi
  • Run "Registry Editor" (run regedit.exe or regedt32.exe)
  • Select following registry key:

    HKEY_CURRENT_USER\Software\
    Borland\Delphi\2.0\Debugging


  • Add an item of type "REG_SZ" named "EnableCPU" and set its value to "1" (without the quotes)
  • Exit Registry Editor
  • Restart Delphi and select "View | CPU"

Now when you debug your program, you'll see the assembly instructions in the new "DiassemblyView" window.

 
 
Applicable Keywords : Delphi, Delphi 2.x, User Interface
 
Previous Tip : Hello, word!
Random Tip : Implementing multi-columns the easy way
Next Tip : Printers
 
 
Copyright © 2009 Chami.com. All Rights Reserved. | Advertise | Created in HTML Kit editor