help!!!!!!!!!!!!!!

bothie's Avatar
Go4Expert Member
wat is the error in the following 8085 assembly language codes
1)MVI B,C
2)INX C
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
You have posted it as an Article under the Article / Source code section. I have moved it to the Queries and Discussion forum.

MVI B, C is wrong and it should MVI B, XXXX some memory location
0
bothie's Avatar
Go4Expert Member
wat of the error in
INX C
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
INX C is also not valid, it should be INX H for HL pair register ...
0
DaWei's Avatar, Join Date: Dec 2006
Team Leader
Furthermore, MVI is a move immediate instruction, expecting an immediate value in the instruction, and not a register. I would suggest that you study your language reference, right after you study where you might appropriately ask your questions.