Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Processor Architecture for Assembly [duplicate]

Tags:

assembly

Possible Duplicate:
assembly instruction set for my processor

I am currently trying to program my own simple operating system. I am learning C++ and herd you need to know assembly in your processors code. I was wondering how you would find this information. When I google Intel Core i5-2435M architecture, it says 64 bit, when I want to know if it's x86 or something else. I found post that told you how to do so 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!

like image 783
user1770102 Avatar asked Oct 24 '12 03:10

user1770102


1 Answers

x86, aka x86-32, aka IA-32 is a 32-bit instruction set. Your Intel Core i5 processor runs the 64-bit version of that, called x86-64, more specifically, Intel 64. Note that processor architecture has little or nothing to do with the operating system your computer is running (Windows vs Mac vs ...).

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

like image 185
Matt Ball Avatar answered Nov 02 '22 12:11

Matt Ball