|
DataMuseum.dkPresents historical artifacts from the history of: RC4000/8000/9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC4000/8000/9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 768 (0x300) Types: TextFile Names: »potens2«
└─⟦00964e8f7⟧ Bits:30007478 RC8000 Dump tape fra HCØ. └─⟦b2ec5d50f⟧ └─⟦this⟧ »potens2«
begin integer i,j; long array A(0:2); A(0):=1; A(1):=1024; A(2):=A(1)*1024; write(out,<:<'nl'>POTENSER AF 2<'nl'>:>, "-",14,"nl",1); for j:=0,1,2 do write(out,"sp",4,"n",1,"sp",10,<:2**n:>, if j=2 then "nl" else "sp",2); for i:=1 step 1 until 10 do for j:=0,1,2 do begin A(j):=A(j)*2; write(out,<< ddd>,i+j*10, << d ddd ddd ddd>,A(j)); if j=2 then outchar(out,'nl') else write(out,"sp",2); end; end ▶EOF◀