File DAN6

Directory of image this file is from
This file as a plain text file

*20
/DAN GRAY
/OCTOBER 13,1970
/NUMBER OF ON BITS IN THE
/RIGHT SWITCHES MINUS NUMBER ON IN
/LEFT SWITCHES.  SENSE SWITCH
/ZERO ON RESULTS IN LS+RS.SIXTH
/COMPLETED PROGRAM.
START,	CLR
	STC 17
	STC 16
	LDA I
	1763
	STA
	15
        STA
        14
	LSW
	ROR 14
	RSW
	QLZ
	XSK I 17
        ROR 1
	XSK I 15
	JMP .-4
	QLZ
	XSK I 16
        ROR 1
	XSK I 14
	JMP .-4
       	LDA
	17
	SNS 0
        COM
	ADD 16
	AZE I
	CLR
        HLT
	JMP START



Feel free to contact me, David Gesswein djg@pdp8online.com with any questions, comments on the web site, or if you have related equipment, documentation, software etc. you are willing to part with.  I am interested in anything PDP-8 related, computers, peripherals used with them, DEC or third party, or documentation. 

PDP-8 Home Page   PDP-8 Site Map   PDP-8 Site Search