|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Bit_Utilitaires, seg_05a9fb
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with System;
package body Bit_Utilitaires is
function Test_Bit
(Un_Octet : in Octet; Bit : in Numero_Bit) return Boolean is
O : Octet renames Un_Octet;
begin
return O (Bit);
end Test_Bit;
procedure Bit_A_1 (Un_Octet : in out Octet; Bit : in Numero_Bit) is
O : Octet renames Un_Octet;
begin
O (Numero_Bit (7 - Bit)) := True;
end Bit_A_1;
procedure Bit_A_0 (Un_Octet : in out Octet; Bit : in Numero_Bit) is
O : Octet renames Un_Octet;
begin
O (Numero_Bit (7 - Bit)) := False;
end Bit_A_0;
function Tableau_Vers_Nombre
(Tableau : in Octet) return Defined_Type.Octet is
N : Defined_Type.Octet;
for N use at Tableau'Address;
begin
return N;
end Tableau_Vers_Nombre;
function Nombre_Vers_Tableau
(Nombre : in Defined_Type.Octet) return Octet is
O : Octet;
for O use at Nombre'Address;
begin
return O;
end Nombre_Vers_Tableau;
end Bit_Utilitaires;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=26 rec1=00 rec2=01 rec3=008
[0x01] rec0=05 rec1=00 rec2=02 rec3=000
tail 0x2176a2454893876443b6d 0x42a00088462060003