Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.development    |    Operating system development chatter    |    4,255 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 3,628 of 4,255    |
|    wolfgang kern to muta...@gmail.com    |
|    Re: 32 on 64    |
|    20 Mar 23 13:52:52    |
      From: nowhere@never.at              On 20/03/2023 01:21, muta...@gmail.com wrote:       ...       > Someone has replied offline and said that call and ret won't       > do 32-bit anymore, but it is probably possible to do that       > manually.              > I assume the syntax would be:       >       > mov eax, after       > mov [esp + 0], eax       > mov eax, sub       > jmp *eax       > after:       >       > sub:       > ...       > mov eax, [esp + 0]       > jmp *eax              this may not work as you expect.       and what's wrong with call/ret in long mode              FF D0 .... C3       48 FF D0 .... C3              if you like to run 32 bit code within 64 bit environment then just       switch back and forth between this two modes.       Oh, you don't have a BIOS/UEFI function for such ? write your own.       __       wolfgang              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca