Digimon RPG

Site is inactive until further notice
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 computer's hardware understand it's base code in the first place?

Go down 
AuthorMessage
RahimBhai
Normal
Normal



PostSubject: computer's hardware understand it's base code in the first place?   Fri Dec 17, 2010 10:43 am

It's hard to explain this to someone who's had little experience with digital logic circuits. To fully understand this, you need to read up on logic gates, boolean algebra, CPU and bus architecture.

I'll try to keep it simple. The base language of a computer is machine code. The part of the computer that actually "understands" and executes machine code is the CPU.

Machine codes consist of numbers: opcodes and arguments. For example "254" is a x86 instruction meaning "decrease by 1".

The CPU itself consists of a complex network of logic gates (basic digital devices that combine and manipulate bits of data). When the CPU reads an opcode of 254, it sees it as a binary bit-pattern: 11111110. Each of those bits is sent down its own wire (bus) into a logic-gate network (instruction decoder) which is connected in such a way that an input of 254 would activate the "decrease by 1" mechanism; an input of, say, 14 would activate the "multiply by" mechanism, etc.




_________________
Save My Marriage Today Review

Back to top Go down
View user profile
XREDXR
Normal
Normal



PostSubject: Re: computer's hardware understand it's base code in the first place?   Mon Jan 31, 2011 6:40 am

Each of those bits is sent down its own wire (bus) into a logic-gate network (instruction decoder) which is connected in such a way that an input of 254 would activate the "decrease by 1" mechanism; an input of, say, 14 would activate the "multiply by" mechanism, etc.


home business opportunity
outsourcing besparen
Back to top Go down
View user profile
 
computer's hardware understand it's base code in the first place?
Back to top 
Page 1 of 1
 Similar topics
-
» Emoticon Code from Neopets!
» JOIN THE MOST BEASTLY DOJO WITH THE CODE: AFAEAHGE
» New Cheerleading Move Code
» Pixel Base
» Animal ID code not working?

Permissions in this forum:You cannot reply to topics in this forum
Digimon RPG :: Non-Rpg Section :: Randomness-
Jump to: