DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: ┃ C T ┃
Length: 1804 (0x70c) Types: TextFile Names: »CPU_TIME_ASM«
└─⟦afbc8121e⟧ Bits:30000532 8mm tape, Rational 1000, MC68020_OS2000 7_2_2 └─ ⟦77aa8350c⟧ »DATA« └─⟦f794ecd1d⟧ └─⟦24d1ddd49⟧ └─⟦this⟧
; The use of this system is subject to the software license terms and ; conditions agreed upon between Rational and the Customer. ; ; Copyright 1988 by Rational. ; ; RESTRICTED RIGHTS LEGEND ; ; Use, duplication, or disclosure by the Government is subject to ; restrictions as set forth in subdivision (b)(3)(ii) of the Rights in ; Technical Data and Computer Software clause at 52.227-7013. ; ; ; Rational ; 3320 Scott Boulevard ; Santa Clara, California 95054-3197 ; ; PROPRIETARY AND CONFIDENTIAL INFORMATION OF RATIONAL; ; USE OR COPYING WITHOUT EXPRESS WRITTEN AUTHORIZATION ; IS STRICTLY PROHIBITED. THIS MATERIAL IS PROTECTED AS ; AN UNPUBLISHED WORK UNDER THE U.S. COPYRIGHT ACT OF ; 1976. CREATED 1989. ALL RIGHTS RESERVED. ; ; .module "CPU_TIME" ; ; ; .include "^standard_assembler_include_file" .include "^common.runtime_definitions" .include "^common.os2000_definitions" comp_unit runtime_compunit .sect ada_runtime_code,code,relocatable,alignment:=2 ; ; ; .gbl.l __Get_Tick_Counts .ext.l __Process_Descriptor_Pointer ; ; procedure Get_Tick_Counts (User : out Integer; ; System : out Integer); ; subprogram sp_rt,sp.internal,linkage.simple __get_tick_counts: .local $user equ 4 $system equ 8 movea.l (__process_descriptor_pointer,a5),a0 ; get descriptor ptr movea.l (a0),a0 ; a0 := descriptor pointer move.l (p$uticks,a0),($user,sp) ; move user ticks move.l (p$sticks,a0),($system,sp) ; move system ticks rts end_subprograms .end