File A2B2.PA (PAL assembler source file)

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

*200
     /DAS PROGRAMM BERECHNET A**2 + B**2  /
	CLA
	TAD A
	JMS QUAD
	DCA ERG
	TAD B
	JMS QUAD
	TAD ERG
	DCA ERG
	HLT
QUAD,	0000  /UNTERPROGRAMM ZUM QUADREIEREN EINER ZAHL
	DCA C
	DCA PROD
	TAD C
	CIA
	DCA ZAEHL
ANF,	TAD C
	TAD PROD
	DCA PROD
	ISZ ZAEHL
	JMP ANF
	TAD PROD
	JMP I QUAD  /ENDE DES UNTERPROGRAMMS QUAD
A,	0
B,	0
ERG,	0
C,	0
PROD,	0
ZAEHL,	0
	$



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