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:


  • 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.