Picture
We used The Turing programming language to reads the input status of the parallel port, and to write to the parallel port as integers. However, to determine the status of a specific pin of the input of the parallel port we needed to isolate that specific pin. The table on the left shows the way we isolate input pins for the purpose of decision making. We take the input from the pin like below:
S3 := ((input div  8) mod 2)
S4 := ((input div 16) mod 2)
S5 := ((input div 32) mod 2)
S6 := ((input div 64) mod 2)






Leave a Reply.

    Author

    My name is Adit Patel, i'm a 16 year old high school student going to Woburn C.I. I created this website as an assignment to put together all that i have learned throughout the year in my computer Engineering class!

    Archives

    May 2013
    April 2013
    March 2013
    January 2013

    Categories

    All