Lxi Help!!

Light Poster
10Sep2007,19:53   #1
Radiant's Avatar
Hello Am a Beginner..

I know LXI Rp,address(16 bit)

is an 3 byte instruction.

and M/Cs =3

But am curious to know that.. if the contents are address then of course its going to perform a Memory Read operation.

Then why not we consider 4 m/cs instead of 3.

1: opcode fetch
2: operand fetch
3: operand fetch
4: memory Read

???
Team Leader
10Sep2007,21:54   #2
DaWei's Avatar
Get the manual for your microprocessor (you don't mention the type) and check the instruction. It'll show you.
Light Poster
11Sep2007,00:22   #3
Radiant's Avatar
Oh am extremely sorry for that duplicate post.


Its an 8085 microprocessor am studying about.

Please help me to clear the above query.
Team Leader
11Sep2007,02:02   #4
DaWei's Avatar
The destination register pair is contained in the opcode, so 1 opcode fetch, 2 data fetches.
Light Poster
11Sep2007,12:08   #5
Radiant's Avatar
oh yes...
Thank you! Thank you!

its just the data(the address) thats going to be loaded into the Register pair... and not the contents of that address. So no Memory operation here..

Thank you very much !!