Hi,
When I load this code into ROM and execute it on my 8085 based computer, it works fine. The LED connected to the SOD (serial output) lights and goes out:
If I replace the HLT command with a JMP START command, the LED stays lit continuously instead of blinking. Is this an issue of the delay not being long enough? The clock of the 8085 is from a 6MHz quartz crystal. The 8085 divides the clock freq. by 2 so the clock output is 3MHz.
I even also tried two delays in a row and tried different articles with a delay count less than this (the articles claim that the LED blinks) but the LED still stays lit continuously.
Thanks in Advance
When I load this code into ROM and execute it on my 8085 based computer, it works fine. The LED connected to the SOD (serial output) lights and goes out:
SOD BLINK A LED:
START:
MVI A,C0 ; light the LED
SIM
MVI B,FF ; load the delay count into the B register
DELAY:
DCR B
JNZ DELAY
MVI A,40 ; turn off the LED and Halt
SIM
HLT
I even also tried two delays in a row and tried different articles with a delay count less than this (the articles claim that the LED blinks) but the LED still stays lit continuously.
Thanks in Advance
Last edited: