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 ?
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 ?