Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Need help with DPMI function 301h (Developers)

posted by marcov, 24.08.2019, 15:53

> It's kind of a bug in FreePascal that the assembler doesn't report an
> error/warning for line "mov edi,r".

Why? It is valid code. It moves the value of variable r into edi. So if it is a local variable or stack param it translates to

mov edi,dword ptr [bp+xx]

if it is a register param, it translates to a register move etc. I'm not sure if it automatically does RIP relative addressing though.

 

Complete thread:

Back to the forum
Board view  Mix view
22757 Postings in 2121 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum