Electrical – Why does out command works wrong? (Proteus 8086)

assemblyinstruction-set

I am trying to create an output unit for 8086 microprocessor which is connected to MP's 00ABh(10101011) address. I used 74LS373 for that. This is how I made connections:

enter image description here

When I run the code below, LED's shows the address value (00ABh) instead data value (18h).

enter image description here

What am I doing wrong here?

Best Answer

You are using the wrong control signal ALE which latches the address part and I have no idea why you are enabled the output with the decoded signal.

I'd also switch to a 374 edge triggered device clocked by that decoded signal.

enter image description here

Related Topic