Machine language

Status
Not open for further replies.

mehdiinlove

New Member
Hello to all electronics lovers

how machine codes (or instructions or Assembly language )for example "LD A,(2000H) in Z80 Microprocessor" is translated to the hardware?I mean how hardware realise that above instruction must be translated to an action in hardware?what process does happen in this action?

Regards
 
It starts with a process called decoding. A circuit looks at the bits of an instruction and decides it is a load instruction. The signal which says "LD" instruction turns on a gateway to fetch a byte from meoory by putting an address on the address bus, and activating the RD* strobe at the correct time. When the data from the memory is stable, another gateway allows the data from the memory which is now on the Z80's data bus to be routed into the Accumulator. All the other instructions are variations on this theme.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…