As I could see from the screenshots, you are wrongly entering the code. your final code is suppose to be like:
MVI A, 3H -> 3E 03
MVI B, 4H -> 06 04
ADD B -> 80
HLT -> 76
I haven't used this simulator but I suppose you are inputting wrong Mnemonics. I think it should be like:
Address Mnemonics M Code
Address1: MVI A 3E
Address2: 3 03
Address3: MVI B 06
Address4: 4 04
Address5: ADD B 80
Address6: HLT 76
And not like:
Address1: MVI A, 3
Address2: MVI B, 4
Address3: ADD B
Address4: HLT
(this is clear if we see the coloumn M. Code where MVI A, 3
and MVI B, 4
has got no opcodes)
Then only you will get the intended code as:
3E 03 06 04 80 76
What you are actually running till now was some NOP
operations (opcode value 00
) and HLT
. :-)