|
-
May 23rd, 2021, 04:19 AM
#8
Re: create 64 bit system with assembly
and how exactly can I define that my OS is a 64x architecture and not 32x or 16x
When the BIOS transfers control to your boot sector, the Intel (or equivalent) cpu is in 16 bit real mode(aka 8086). If you want 32 bit or 64 bit you need to use instructions to switch to 32 or 64 bit protected mode as required.
All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/
C++23 Compiler: Microsoft VS2022 (17.6.5)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|