Continue to Site

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 does MOV INstruction execute in 8051

Status
Not open for further replies.

vead

Full Member level 5
Joined
Nov 27, 2011
Messages
285
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
india
Activity points
3,815
hello ,
I need help to understand how does fetch decode and execute unit perform
Example assembly code
Memory address Hex code assembly language comments
0000 74 4A MOV A,#4A ; Load the immediate data into A

Where 0000 is memory address. 74 is mov A opcode and 4A is operand
74= 0111 0100=MOV A
4A= 0100 1010

Look following line
0111 0100
which is part of fetch, decode and execute ?
 
Last edited:

Reviewing an instruction set table can help you to understand the decoding scheme.
 

Reviewing an instruction set table can help you to understand the decoding scheme.
I Looked that table But Its not clear to me which is part of fetch, decode and execute ?
this is two byte instruction
74= 0111 0100=MOV A 1 byte
4A= 0100 1010 1bite
Ok processor read the binary byte from program memory
To get something from memory called fetching
ok that mean we are taking 0111 0100 byte from memory called fetching

Data 4A= 0100 1010 store in to A register call execution
but what is decode unit ?
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top