Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
tfhe program first tests the reset and then starts the necessary tests<br />
to test the ability of the chip to increment its count by one for each<br />
p<br />
ulse that is received at the INP A pin,<br />
Step 9<br />
This program does not test all 16 counter states, The last count<br />
om llll to 0000 is not tested, Could you change the program to<br />
ke care of this<br />
should not be difficult for you to add the final test to the program,<br />
here are several ways in which you could do this, Here is one:<br />
90 POKE 49317,0<br />
JOO IF PEEK(49319) 0 THEN 1010<br />
110 PRINT "COUNT TEST OK": END<br />
this case, a final count has been generated and the "wrap-around"<br />
from 1111 to 0000 has been tested,<br />
The output port will not be used again, so you may remove it<br />
your breadboard, The input port will be used again, The power<br />
be turned o:ff, since the program will not be used again,<br />
EXPERIMENT NO, 15<br />
SIMPLE fl.AG CIRCUITS<br />
The purpose of this experiment is to demonstrate the construction<br />
d use of simple Hag circuits,<br />
Flags are signals that are used by the computer and If 0 devices<br />
sb that their operations are synchronized, Flags are commonly used<br />
oindicate one of two possible conditions, ready/busy, full/empty,<br />
,}xot/ cold, and other combinations that relate the conditions of an.<br />
0.nterface to the computer, Experiment No, 6 illustrated the use of<br />
nput ports to transfer nonnumeric information to the computer,<br />
his experiment will develop this concept further, An 8-bit input<br />
is :required in this experiment,