Board index » delphi » CPU Registers

CPU Registers

I need to view and manipulate values in the cpu registers using Delphi 3.
Will someone please help me?

Vikash Daya
vik...@iafrica.com

 

Re:CPU Registers


Use the inline assembler.
for example:

asm
    xor eax, eax // Set EAX to 0
    mov ebx, $37 // put the value $37 hex into EBX
    mov ecx, 18 // put the value of 18 into ECX
end;

Oracle
Programming Concepts and Tutorials
www.geocities.com/SiliconValley/Haven/7959/

Other Threads