Processor architecture for assembly

Possible duplicate:
set of build instructions for my processor

I am currently trying to program my own simple operating system. I am learning C ++ and the herd, you need to know the assembly in the processor code. I was wondering how you would find this information. When I use the Intel Core i5-2435M architecture, it says 64 bits when I want to know if it is x86 or something else. I found a post telling how to do this on Windows, but I'm on a mac. Since I'm just a kid (11) who hopes to do this over the next 4 years, I hope you can help me figure this out. Thanks!

+7
source share
1 answer

x86, aka x86-32, aka IA-32 is a 32-bit instruction set. The Intel Core i5 processor works with a 64-bit version called x86-64 , namely Intel 64 . Please note that the processor architecture has little or nothing to do with the operating system on which your computer is running (Windows vs Mac vs ...).

All that being said, you really don't need to know the assembly in order to write C ++, at least as a beginner.
Good thing you start early and good luck!

+4
source

All Articles