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

⟦3469fbe50⟧

    Length: 1024 (0x400)
    Notes: 00_class, 5900_R1K_CODE, 74_tag, NULL, R1k_Segment, seg_1178c7

Derivation

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

Disassembly

0000 000f       |    |		.CONST	0x000f								; Version of machine code
0001 5900       |Y   |		.CONST	0x5900								; Diana Version, RCG Major Version, RCG minor version
0002 0000       |    |		.CONST	0x0000								; Zero
0003 0080       |    |		.CONST	0x0080								; Offset of debug table
0004 0100       |    |		.CONST	0x0100								; Default exception handler - raise instruction
0005 00bb       |    |		.CONST	0x00bb								; Module termination instruction - signal completion
0006 0000       |    |		.CONST	0x0000								; Offset to segment table (only in elab segments)
0007 0000       |    |		.CONST	0x0000								; 0, wired, #pages in seg - 1)
0008 ; --------------------------------------------------------------------------------------
0008 ; SUBPROGRAM
0008 ; --------------------------------------------------------------------------------------
0008 0010       |    |		.CONST	0x0010								; Address of begin
0009 0004       |    |		.CONST	0x0004								; Address of exception handler
000a 0001       |    |		.CONST	0x0001								; Number of locals
000b			INIT_0008:
000b 029a 001b  |    |		Declare_Subprogram	INIT_0018,For_Outer_Call,Visible,Unelaborated
000d 00bf       |    |		Action	Accept_Activation
000e 1d0d       |    |		Execute_Immediate	Reference_Lex_1,0xd
000f 00c7       |    |		Action	Elaborate_Subprogram
0010			BODY_0008:
0010 00bc       |    |		Action	Signal_Activated
0011 00bb       |    |		Action	Signal_Completion
0012 0000 0000  |    |		.BLANK	0000[0x6]
0018 ; --------------------------------------------------------------------------------------
0018 ; SUBPROGRAM
0018 ; --------------------------------------------------------------------------------------
0018 002a       | *  |		.CONST	0x002a								; Address of begin
0019 0043       | C  |		.CONST	0x0043								; Address of exception handler
001a 0004       |    |		.CONST	0x0004								; Number of locals
001b			INIT_0018:
001b 00e2       |    |		Load_Encached	Integer_Cache
001c 0601       |    |		Execute_Immediate	Set_Value_Unchecked,0x1
001d e002       |    |		Load	0x0,0x2
001e e003       |    |		Load	0x0,0x3
001f 00e2       |    |		Load_Encached	Integer_Cache
0020 e004       |    |		Load	0x0,0x4
0021 1b50       | P  |		Execute	Package,Field_Read,Field_Number 0x50
0022 0387       |    |		Declare_Variable	Package
0023 00d8       |    |		Load_Top	At_Offset_0
0024 020f       |    |		Execute	Module,Activate
0025 0093 0000  |    |		push_full_address	0x0
0027 602c       |`,  |		Indirect_Literal	Discrete,0x54,{0x80000000, 0x00010000}
0028 0273       | s  |		Execute	Discrete,Plus
0029 0007       |    |		Action	Break_Optional
002a			BODY_0018:
002a 4801       |H   |		Short_Literal	0x1
002b e004       |    |		Load	0x0,0x4
002c 182d       | -  |		Execute	Package,Field_Execute,Field_Number 0x2d
002d 0092 0058  |   X|		Action	Push_String_Extended,0x58					; "Quelle est la position a atteindre en cm ( >0 ) : "
002f e004       |    |		Load	0x0,0x4
0030 1821       | !  |		Execute	Package,Field_Execute,Field_Number 0x21
0031 e004       |    |		Load	0x0,0x4
0032 184e       | N  |		Execute	Package,Field_Execute,Field_Number 0x4e
0033 00d9       |    |		Load_Top	At_Offset_1
0034 1b0f       |    |		Execute	Package,Field_Read,Field_Number 0xf
0035 4800       |H   |		Short_Literal	0x0
0036 e004       |    |		Load	0x0,0x4
0037 1820       |    |		Execute	Package,Field_Execute,Field_Number 0x20
0038 e403       |    |		Load	0x2,0x3
0039 1812       |    |		Execute	Package,Field_Execute,Field_Number 0x12
003a 005b       | [  |		Store_Top	Discrete,At_Offset_3
003b 00da       |    |		Load_Top	At_Offset_2
003c 0d01       |    |		Execute_Immediate	Less,0x1
003d 6802       |h   |		Jump_Zero	0x40
003e 00d8       |    |		Load_Top	At_Offset_0
003f 0257       | W  |		Execute	Discrete,Raise
0040 00da       |    |		Load_Top	At_Offset_2
0041 8005       |    |		Call	0x0,0x5
0042 4501       |E   |		Exit_Suprogram	New_Top_Offset 0x1
0043			TRAP_0018:
0043 00d9       |    |		Load_Top	At_Offset_1
0044 010f       |    |		Execute	Exception,Equal
0045 7006       |p   |		Jump_Nonzero	0x4c
0046 00d8       |    |		Load_Top	At_Offset_0
0047 0107       |    |		Execute	Exception,Get_Name
0048 4960       |I`  |		Short_Literal	0x160
0049 496f       |Io  |		Short_Literal	0x16f
004a 0262       | b  |		Execute	Discrete,In_Range
004b 6805       |h   |		Jump_Zero	0x51
004c 0092 0059  |   Y|		Action	Push_String_Extended,0x59					; "Mauvais choix !!"
004e e004       |    |		Load	0x0,0x4
004f 184f       | O  |		Execute	Package,Field_Execute,Field_Number 0x4f
0050 4501       |E   |		Exit_Suprogram	New_Top_Offset 0x1
0051 0100       |    |		Execute	Exception,Raise
0052 0000 0000  |    |		.XXX[0x2]
0054 8000 0000  |    |		.LITERAL	{0x80000000, 0x00010000}
0058 ; --------------------------------------------------------------------------------------
0058 ; STRING TABLE
0058 ; --------------------------------------------------------------------------------------
0058 0006       |    |		.STRTAB	0x0006->0x005b							; "Quelle est la position a atteindre en cm ( >0 ) : "
0059 0036       | 6  |		.STRTAB	0x0036->0x0074							; "Mauvais choix !!"
005a 0044       | D  |		.STREND 0x0044->0x007c
005b 5175 656c  |Quel|		.STRTAB_STRINGS
007c 0000 0000  |    |		.BLANK	0000[0x4]
0080 ; --------------------------------------------------------------------------------------
0080 ; Debug Table
0080 ; --------------------------------------------------------------------------------------
0080 0004 0009  |    |		.DEBUG4	0x0004,0x0009,0x4d5f,0x0000,0x0001,0x0002
0086 000b 0000  |    |		.DBG4T	0x000b,0x0000,0x8000,0x0000
008a 001b 008e  |    |		.DBG4T	0x001b,0x008e,0x8001,0x0000
008e ; --------------------------------------------------------------------------------------
008e ; Debug chain
008e ; --------------------------------------------------------------------------------------
008e 0003 0007  |    |		.DBGLEN	0x0003,0x0007
0090 001b 001d  |    |		.DBGLNO	0x001b,0x001d,0x0025,0x002a,0x002d,0x0033,0x003b,0x003e,0x0040,0x004c
009a 0000 0000  |    |		.BLANK	0000[0x166]