|
|
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: »negbasetx«
└─⟦621cfb9a2⟧ Bits:30002817 RC8000 Dump tape fra HCØ. Detaljer om "HC8000" projekt.
└─⟦0364f57e3⟧
└─⟦baac87bee⟧ »gi«
└─⟦667bb35d6⟧ Bits:30007480 RC8000 Dump tape fra HCØ.
└─⟦4334b4c0b⟧
└─⟦baac87bee⟧ »gi«
└─⟦this⟧
\f
comment predit text * page 15 11 02 80, 16.42
0 1 2 3 4 5 6 7 8 9 ;
comment case 4, negbase;
________________________
comment the programme converts a negative number to its
positive 2-complement in rc4000 integers;
begin
array nmb(1:2);
integer i;
long j;
write(out, nl, 1);
for i := read_param(nmb) while i <> 0 do
if i = 3 or i = 1 then
begin
j := - nmb(1);
write(out, <<-dd ddd ddd>, j, <:_->_:>,
((extend 1) shift 24) + j, nl, 1);
end;
end case 4, negbase;
▶EOF◀