DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦4fb65bf7d⟧ TextFile

    Length: 699 (0x2bb)
    Types: TextFile
    Names: »B«

Derivation

└─⟦516dceb10⟧ Bits:30000751 8mm tape, Rational 1000, RCI_VADS
    └─ ⟦9a14c9417⟧ »DATA« 
        └─⟦this⟧ 

TextFile

-- Copyright 1990 Verdix Corporation

-- Machine dependent test and set routine for the M68000 processor family
-- This version is for the user space (rather than the kernel)

WITH System;
WITH Machine_Code;

PACKAGE BODY V_Tas IS

   PRAGMA Suppress (All_Checks);
   PRAGMA Suppress (Exception_Tables);

   -- A value of 1 is returned in the result parameter if the flag was set
   PROCEDURE Test_And_Set (Flag_A : System.Address; Result : OUT Boolean) IS
      USE Machine_Code;
   BEGIN
      Code_2'(Movea_L, Flag_A'Ref, A0);
      Code_1'(Tas, Indr (A0));
      Code_1'(Seq_B, Result'Ref);
      Code_1'(Neg_B, Result'Ref);
   END Test_And_Set;
   PRAGMA Inline_Only (Test_And_Set);

END V_Tas;