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(R), 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
16017 Postings in 1483 Threads, 271 registered users, 5 users online (0 registered, 5 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum