DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦29d5b6d9a⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package V_I_Bits, seg_04cdff

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code




-- Copyright 1986, 1987, 1988 Verdix Corporation

------------------------------------------------------------------------------
-- User interface to the low level bit operators.
------------------------------------------------------------------------------
with System;
use System;
package V_I_Bits is

    pragma Suppress (All_Checks);
    pragma Suppress (Exception_Tables);
    pragma Not_Elaborated;

    function Int_Bit_And (L, R : Integer) return Integer;
    function Int_Bit_Or (L, R : Integer) return Integer;
    function Int_Bit_Xor (L, R : Integer) return Integer;
    function Int_Bit_Neg (L : Integer) return Integer;
    function Int_Bit_Sra (L, Cnt : Integer) return Integer;
    function Int_Bit_Srl (L, Cnt : Integer) return Integer;
    function Int_Bit_Sll (L, Cnt : Integer) return Integer;

    function Addr_Bit_And (L, R : Address) return Address;
    function Addr_Bit_Or (L, R : Address) return Address;
    function Addr_Bit_Xor (L, R : Address) return Address;
    function Addr_Bit_Neg (L : Address) return Address;
    function Addr_Bit_Sra (L : Address; Cnt : Integer) return Address;
    function Addr_Bit_Srl (L : Address; Cnt : Integer) return Address;
    function Addr_Bit_Sll (L : Address; Cnt : Integer) return Address;

    function Bit_And (L, R : Integer) return Integer renames Int_Bit_And;
    function Bit_Or (L, R : Integer) return Integer renames Int_Bit_Or;
    function Bit_Xor (L, R : Integer) return Integer renames Int_Bit_Xor;
    function Bit_Neg (L : Integer) return Integer renames Int_Bit_Neg;
    function Bit_Sra (L, Cnt : Integer) return Integer renames Int_Bit_Sra;
    function Bit_Srl (L, Cnt : Integer) return Integer renames Int_Bit_Srl;
    function Bit_Sll (L, Cnt : Integer) return Integer renames Int_Bit_Sll;

    function Bit_And (L, R : Address) return Address renames Addr_Bit_And;
    function Bit_Or (L, R : Address) return Address renames Addr_Bit_Or;
    function Bit_Xor (L, R : Address) return Address renames Addr_Bit_Xor;
    function Bit_Neg (L : Address) return Address renames Addr_Bit_Neg;
    function Bit_Sra (L : Address; Cnt : Integer) return Address
        renames Addr_Bit_Sra;
    function Bit_Srl (L : Address; Cnt : Integer) return Address
        renames Addr_Bit_Srl;
    function Bit_Sll (L : Address; Cnt : Integer) return Address
        renames Addr_Bit_Sll;

private
    pragma Interface (Ada, Int_Bit_And);
    pragma Interface_Name (Int_Bit_And, "__BIT_AND");
    pragma Interface (Ada, Int_Bit_Or);
    pragma Interface_Name (Int_Bit_Or, "__BIT_OR");
    pragma Interface (Ada, Int_Bit_Xor);
    pragma Interface_Name (Int_Bit_Xor, "__BIT_XOR");
    pragma Interface (Ada, Int_Bit_Neg);
    pragma Interface_Name (Int_Bit_Neg, "__BIT_NEG");
    pragma Interface (Ada, Int_Bit_Sra);
    pragma Interface_Name (Int_Bit_Sra, "__BIT_SRA");
    pragma Interface (Ada, Int_Bit_Srl);
    pragma Interface_Name (Int_Bit_Srl, "__BIT_SRL");
    pragma Interface (Ada, Int_Bit_Sll);
    pragma Interface_Name (Int_Bit_Sll, "__BIT_SLL");

    pragma Interface (Ada, Addr_Bit_And);
    pragma Interface_Name (Addr_Bit_And, "__ADDR_BIT_AND");
    pragma Interface (Ada, Addr_Bit_Or);
    pragma Interface_Name (Addr_Bit_Or, "__ADDR_BIT_OR");
    pragma Interface (Ada, Addr_Bit_Xor);
    pragma Interface_Name (Addr_Bit_Xor, "__ADDR_BIT_XOR");
    pragma Interface (Ada, Addr_Bit_Neg);
    pragma Interface_Name (Addr_Bit_Neg, "__ADDR_BIT_NEG");
    pragma Interface (Ada, Addr_Bit_Sra);
    pragma Interface_Name (Addr_Bit_Sra, "__ADDR_BIT_SRA");
    pragma Interface (Ada, Addr_Bit_Srl);
    pragma Interface_Name (Addr_Bit_Srl, "__ADDR_BIT_SRL");
    pragma Interface (Ada, Addr_Bit_Sll);
    pragma Interface_Name (Addr_Bit_Sll, "__ADDR_BIT_SLL");
end V_I_Bits;

E3 Meta Data

    nblk1=4
    nid=0
    hdr6=8
        [0x00] rec0=1a rec1=00 rec2=01 rec3=042
        [0x01] rec0=10 rec1=00 rec2=02 rec3=02a
        [0x02] rec0=15 rec1=00 rec2=03 rec3=054
        [0x03] rec0=13 rec1=00 rec2=04 rec3=000
    tail 0x2175421aa874f7be291d3 0x42a00088462060003