File DUSE.FT (FORTRAN source file)

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

	SUBROUTINE DUSE(M,N)
C WANDELT 8-BIT-DUAL-ZAHL M (BIT 4...11) IN SEDEZIMAL-ZAHL N
C ERGEBNIS : ZWEI 6-BIT-ASCII-ZEICHEN (FORMAT A2) IN N
C FORTRAN II
	ITEM=M
S	JMS SED
	N0=N
	ITEM=M
S	CLA CLL
S	TAD \ITEM
S	RTR;RTR
S	DCA \ITEM
S	JMS SED
S	TAD I \N
S	7002	/ BYTE SWAP
S	TAD \N0
S	DCA I \N
	RETURN
SSED,	0
C WANDELT BIT 8...11 IN SEDEZIMAL-ZEICHEN
C IN 6-BIT-ASCII-ZEICHEN IN BIT 6...11
S	CLA CLL
S	TAD \ITEM
S	AND (K0017
S	DCA \ITEM
	IF(ITEM-10)1000,1001,1001
1000	N=48+ITEM
S	JMP I SED
1001	N=ITEM-9
S	JMP I SED
	END



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