Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how Machine language works..

Status
Not open for further replies.

simrantogether

Member level 1
Joined
Sep 11, 2007
Messages
41
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,527
how machine language works

Hi,

How does the microcontroller come to know that when i enter e.g. '1100 1011 ' then it has to transfer data from Register to Accumulator..

This is the basic and very important question..
Regards,

Simran..
 

neoaspilet11

Full Member level 5
Joined
Sep 29, 2005
Messages
277
Helped
29
Reputation
56
Reaction score
8
Trophy points
1,298
Location
Cebu, Philippines
Activity points
4,048
explanation of how machine language works

Depends on the MCU architecture.

1.) For example PIC 16 and 18 families have their operands embedded in the instruction. Therefore each machine cycle must have a a instruction decoder before looking into the operand.


Most MCU systems decodes instruction by set of instruction decoders. They are simply a large collection of combinatorial circuits corresponding to each instruction.
 

simrantogether

Member level 1
Joined
Sep 11, 2007
Messages
41
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,527
how accumulator machine work

neoaspilet11 said:
Therefore each machine cycle must have a a instruction decoder before looking into the operand.

They are simply a large collection of combinatorial circuits corresponding to each instruction.

That means.. there is one instruction decoder register..

and a large number of circuits are linked with that register..

till now Thanks..


Now one more question arises..

transfering of data from register to accumulator e.g. requires four steps..

so how these four tasks are done in one machine cycle..


Again " how does the control unit comes to know that.. this step is to be performed after this step.. "

Regards,

Simran..
 

hamed_sotoudi

Full Member level 3
Joined
Aug 1, 2007
Messages
158
Helped
15
Reputation
30
Reaction score
4
Trophy points
1,298
Location
Germany Hamburg
Activity points
2,207
how computer machine language works

It depends on the control unit and cpu architecture.for example in RISC architercture with pipeline each step work at the same time that others work that is each step calculate and do some work and send data to other steps. like a assembly section of a factory. each section do some work and send it to other section.but for example in serial architectures there is a counter that counts the steps and its output go to a decoder then in every step the decoder enables one section. if u want complete understanding about the cu and microcontrollers read computer orginigation written by Pattersone. or u can read computer architecture written by Moris mano. the latest is simpler then the first. at the end sorry for my bad writing.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top