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

⟦e7cd5d4d7⟧

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

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 5800       |X   |		.CONST	0x5800								; Diana Version, RCG Major Version, RCG minor version
0002 0000       |    |		.CONST	0x0000								; Zero
0003 0118       |    |		.CONST	0x0118								; 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 8000       |    |		.CONST	0x8000								; 0, wired, #pages in seg - 1)
0008 ; --------------------------------------------------------------------------------------
0008 ; SUBPROGRAM
0008 ; --------------------------------------------------------------------------------------
0008 001b       |    |		.CONST	0x001b								; Address of begin
0009 003d       | =  |		.CONST	0x003d								; Address of exception handler
000a 0006       |    |		.CONST	0x0006								; Number of locals
000b			INIT_0008:
000b e006       |    |		Load	0x0,0x6
000c 1b0d       |    |		Execute	Package,Field_Read,Field_Number 0xd
000d 02c7       |    |		Declare_Variable	Any
000e 00d8       |    |		Load_Top	At_Offset_0
000f 1c00       |    |		Execute_Immediate	Run_Utility,0x0
0010 e006       |    |		Load	0x0,0x6
0011 1b0d       |    |		Execute	Package,Field_Read,Field_Number 0xd
0012 02c7       |    |		Declare_Variable	Any
0013 00d8       |    |		Load_Top	At_Offset_0
0014 1c00       |    |		Execute_Immediate	Run_Utility,0x0
0015 029f 004b  |   K|		Declare_Subprogram	INIT_0048,For_Call
0017 029f 0093  |    |		Declare_Subprogram	INIT_0090,For_Call
0019 029f 00ab  |    |		Declare_Subprogram	INIT_00a8,For_Call
001b			BODY_0008:
001b 8405       |    |		Call	0x2,0x5
001c e5fe       |    |		Load	0x2,-0x2
001d 01db       |    |		Execute	Vector,Length
001e 7004       |p   |		Jump_Nonzero	0x23
001f e006       |    |		Load	0x0,0x6
0020 182e       | .  |		Execute	Package,Field_Execute,Field_Number 0x2e
0021 c403       |    |		Store	0x2,0x3
0022 7801       |x   |		Jump	0x24
0023 8406       |    |		Call	0x2,0x6
0024 e5fd       |    |		Load	0x2,-0x3
0025 01db       |    |		Execute	Vector,Length
0026 7008       |p   |		Jump_Nonzero	0x2f
0027 e002       |    |		Load	0x0,0x2
0028 1819       |    |		Execute	Package,Field_Execute,Field_Number 0x19
0029 e002       |    |		Load	0x0,0x2
002a 181d       |    |		Execute	Package,Field_Execute,Field_Number 0x1d
002b e002       |    |		Load	0x0,0x2
002c 1830       | 0  |		Execute	Package,Field_Execute,Field_Number 0x30
002d 8404       |    |		Call	0x2,0x4
002e 7802       |x   |		Jump	0x31
002f e5fd       |    |		Load	0x2,-0x3
0030 8404       |    |		Call	0x2,0x4
0031 e5fe       |    |		Load	0x2,-0x2
0032 01db       |    |		Execute	Vector,Length
0033 6804       |h   |		Jump_Zero	0x38
0034 00db       |    |		Load_Top	At_Offset_3
0035 e006       |    |		Load	0x0,0x6
0036 181b       |    |		Execute	Package,Field_Execute,Field_Number 0x1b
0037 c403       |    |		Store	0x2,0x3
0038 e402       |    |		Load	0x2,0x2
0039 e006       |    |		Load	0x0,0x6
003a 181b       |    |		Execute	Package,Field_Execute,Field_Number 0x1b
003b c402       |    |		Store	0x2,0x2
003c 4504       |E   |		Exit_Suprogram	New_Top_Offset 0x4
003d			TRAP_0008:
003d e214       |    |		Load	0x1,0x14
003e 010f       |    |		Execute	Exception,Equal
003f 6802       |h   |		Jump_Zero	0x42
0040 00d8       |    |		Load_Top	At_Offset_0
0041 0101       |    |		Execute	Exception,Reraise
0042 8218       |    |		Call	0x1,0x18
0043 4504       |E   |		Exit_Suprogram	New_Top_Offset 0x4
0044 0000 0000  |    |		.BLANK	0000[0x4]
0048 ; --------------------------------------------------------------------------------------
0048 ; SUBPROGRAM
0048 ; --------------------------------------------------------------------------------------
0048 0050       | P  |		.CONST	0x0050								; Address of begin
0049 0078       | x  |		.CONST	0x0078								; Address of exception handler
004a 0004       |    |		.CONST	0x0004								; Number of locals
004b			INIT_0048:
004b 00e3       |    |		Load_Encached	Natural_Cache
004c 00e3       |    |		Load_Encached	Natural_Cache
004d 0600       |    |		Execute_Immediate	Set_Value_Unchecked,0x0
004e 029f 00cb  |    |		Declare_Subprogram	INIT_00c8,For_Call
0050			BODY_0048:
0050 00cf       |    |		Action	Mark_Auxiliary
0051 7821       |x!  |		Jump	0x73
0052 8604       |    |		Call	0x3,0x4
0053 00da       |    |		Load_Top	At_Offset_2
0054 0a02       |    |		Execute_Immediate	Plus,0x2
0055 005b       | [  |		Store_Top	Discrete,At_Offset_3
0056 00e2       |    |		Load_Encached	Integer_Cache
0057 4800       |H   |		Short_Literal	0x0
0058 e402       |    |		Load	0x2,0x2
0059 e006       |    |		Load	0x0,0x6
005a 1869       | i  |		Execute	Package,Field_Execute,Field_Number 0x69
005b c602       |    |		Store	0x3,0x2
005c 4801       |H   |		Short_Literal	0x1
005d e402       |    |		Load	0x2,0x2
005e e006       |    |		Load	0x0,0x6
005f 1841       | A  |		Execute	Package,Field_Execute,Field_Number 0x41
0060 0092 00e4  |    |		Action	Push_String_Extended,0xe4					; "    "
0062 e7ff       |    |		Load	0x3,-0x1
0063 e602       |    |		Load	0x3,0x2
0064 00d8       |    |		Load_Top	At_Offset_0
0065 e01a       |    |		Load	0x0,0x1a
0066 1b17       |    |		Execute	Package,Field_Read,Field_Number 0x17
0067 1b11       |    |		Execute	Package,Field_Read,Field_Number 0x11
0068 0260       | `  |		Execute	Discrete,In_Type
0069 7001       |p   |		Jump_Nonzero	0x6b
006a 0801       |    |		Execute_Immediate	Raise,0x1
006b e01a       |    |		Load	0x0,0x1a
006c 1b17       |    |		Execute	Package,Field_Read,Field_Number 0x17
006d 1819       |    |		Execute	Package,Field_Execute,Field_Number 0x19
006e 01cc       |    |		Execute	Vector,Catenate
006f e403       |    |		Load	0x2,0x3
0070 e006       |    |		Load	0x0,0x6
0071 1863       | c  |		Execute	Package,Field_Execute,Field_Number 0x63
0072 00c9       |    |		Action	Pop_Auxiliary_Loop
0073 e402       |    |		Load	0x2,0x2
0074 e006       |    |		Load	0x0,0x6
0075 184b       | K  |		Execute	Package,Field_Execute,Field_Number 0x4b
0076 6fdb       |o   |		Jump_Zero	0x52
0077 4502       |E   |		Exit_Suprogram	New_Top_Offset 0x2
0078			TRAP_0048:
0078 0007       |    |		Action	Break_Optional
0079 4801       |H   |		Short_Literal	0x1
007a e403       |    |		Load	0x2,0x3
007b e006       |    |		Load	0x0,0x6
007c 183f       | ?  |		Execute	Package,Field_Execute,Field_Number 0x3f
007d 0092 00e5  |    |		Action	Push_String_Extended,0xe5					; "Error near line"
007f 00db       |    |		Load_Top	At_Offset_3
0080 00e0       |    |		Load_Encached	Standard_Cache
0081 1818       |    |		Execute	Package,Field_Execute,Field_Number 0x18
0082 01cc       |    |		Execute	Vector,Catenate
0083 0092 00e6  |    |		Action	Push_String_Extended,0xe6					; " of script file"
0085 01cc       |    |		Execute	Vector,Catenate
0086 8219       |    |		Call	0x1,0x19
0087 01cc       |    |		Execute	Vector,Catenate
0088 8217       |    |		Call	0x1,0x17
0089 4502       |E   |		Exit_Suprogram	New_Top_Offset 0x2
008a 0000 0000  |    |		.BLANK	0000[0x6]
0090 ; --------------------------------------------------------------------------------------
0090 ; SUBPROGRAM
0090 ; --------------------------------------------------------------------------------------
0090 0093       |    |		.CONST	0x0093								; Address of begin
0091 009b       |    |		.CONST	0x009b								; Address of exception handler
0092 0001       |    |		.CONST	0x0001								; Number of locals
0093			BODY_0090:
0093			INIT_0090:
0093 e402       |    |		Load	0x2,0x2
0094 00ea       |    |		Load_Encached	Null_String_Cache
0095 e5ff       |    |		Load	0x2,-0x1
0096 4800       |H   |		Short_Literal	0x0
0097 e006       |    |		Load	0x0,0x6
0098 1815       |    |		Execute	Package,Field_Execute,Field_Number 0x15
0099 c402       |    |		Store	0x2,0x2
009a 4501       |E   |		Exit_Suprogram	New_Top_Offset 0x1
009b			TRAP_0090:
009b 0007       |    |		Action	Break_Optional
009c 0092 00e7  |    |		Action	Push_String_Extended,0xe7					; "Cannot open "
009e e5ff       |    |		Load	0x2,-0x1
009f 01cc       |    |		Execute	Vector,Catenate
00a0 0092 00e8  |    |		Action	Push_String_Extended,0xe8					; " for input"
00a2 01cc       |    |		Execute	Vector,Catenate
00a3 8219       |    |		Call	0x1,0x19
00a4 01cc       |    |		Execute	Vector,Catenate
00a5 8217       |    |		Call	0x1,0x17
00a6 00cc       |    |		Action	Pop_Block
00a7 4504       |E   |		Exit_Suprogram	New_Top_Offset 0x4
00a8 ; --------------------------------------------------------------------------------------
00a8 ; SUBPROGRAM
00a8 ; --------------------------------------------------------------------------------------
00a8 00ab       |    |		.CONST	0x00ab								; Address of begin
00a9 00b3       |    |		.CONST	0x00b3								; Address of exception handler
00aa 0001       |    |		.CONST	0x0001								; Number of locals
00ab			BODY_00a8:
00ab			INIT_00a8:
00ab e403       |    |		Load	0x2,0x3
00ac 00ea       |    |		Load_Encached	Null_String_Cache
00ad e5fe       |    |		Load	0x2,-0x2
00ae 4801       |H   |		Short_Literal	0x1
00af e006       |    |		Load	0x0,0x6
00b0 1814       |    |		Execute	Package,Field_Execute,Field_Number 0x14
00b1 c403       |    |		Store	0x2,0x3
00b2 4501       |E   |		Exit_Suprogram	New_Top_Offset 0x1
00b3			TRAP_00a8:
00b3 0007       |    |		Action	Break_Optional
00b4 e402       |    |		Load	0x2,0x2
00b5 e006       |    |		Load	0x0,0x6
00b6 181b       |    |		Execute	Package,Field_Execute,Field_Number 0x1b
00b7 c402       |    |		Store	0x2,0x2
00b8 0092 00e9  |    |		Action	Push_String_Extended,0xe9					; "Cannot create "
00ba e5fe       |    |		Load	0x2,-0x2
00bb 01cc       |    |		Execute	Vector,Catenate
00bc 0092 00ea  |    |		Action	Push_String_Extended,0xea					; " for output"
00be 01cc       |    |		Execute	Vector,Catenate
00bf 8219       |    |		Call	0x1,0x19
00c0 01cc       |    |		Execute	Vector,Catenate
00c1 8217       |    |		Call	0x1,0x17
00c2 00cc       |    |		Action	Pop_Block
00c3 4504       |E   |		Exit_Suprogram	New_Top_Offset 0x4
00c4 0000 0000  |    |		.BLANK	0000[0x4]
00c8 ; --------------------------------------------------------------------------------------
00c8 ; SUBPROGRAM
00c8 ; --------------------------------------------------------------------------------------
00c8 00ce       |    |		.CONST	0x00ce								; Address of begin
00c9 0004       |    |		.CONST	0x0004								; Address of exception handler
00ca 0002       |    |		.CONST	0x0002								; Number of locals
00cb			INIT_00c8:
00cb e402       |    |		Load	0x2,0x2
00cc e006       |    |		Load	0x0,0x6
00cd 1866       | f  |		Execute	Package,Field_Execute,Field_Number 0x66
00ce			BODY_00c8:
00ce 00d8       |    |		Load_Top	At_Offset_0
00cf 01db       |    |		Execute	Vector,Length
00d0 4808       |H   |		Short_Literal	0x8
00d1 00e9       |    |		Load_Encached	String_Cache
00d2 035b       | [  |		Declare_Type	Array,Constrained
00d3 0337       | 7  |		Declare_Variable	Array
00d4 4808       |H   |		Short_Literal	0x8
00d5 00d9       |    |		Load_Top	At_Offset_1
00d6 01dd       |    |		Execute	Vector,First
00d7 0263       | c  |		Execute	Discrete,Above_Bound
00d8 7005       |p   |		Jump_Nonzero	0xde
00d9 4820       |H   |		Short_Literal	0x20
00da 00d9       |    |		Load_Top	At_Offset_1
00db e803       |    |		Load	0x4,0x3
00dc 01d6       |    |		Execute	Vector,Field_Write
00dd 3ffb       |?   |		Loop_Increasing	0xd9
00de 00d9       |    |		Load_Top	At_Offset_1
00df 01cc       |    |		Execute	Vector,Catenate
00e0 e403       |    |		Load	0x2,0x3
00e1 e006       |    |		Load	0x0,0x6
00e2 185e       | ^  |		Execute	Package,Field_Execute,Field_Number 0x5e
00e3 4501       |E   |		Exit_Suprogram	New_Top_Offset 0x1
00e4 ; --------------------------------------------------------------------------------------
00e4 ; STRING TABLE
00e4 ; --------------------------------------------------------------------------------------
00e4 0010       |    |		.STRTAB	0x0010->0x00ec							; "    "
00e5 0012       |    |		.STRTAB	0x0012->0x00ee							; "Error near line"
00e6 001f       |    |		.STRTAB	0x001f->0x00f5							; " of script file"
00e7 002c       | ,  |		.STRTAB	0x002c->0x00fd							; "Cannot open "
00e8 0036       | 6  |		.STRTAB	0x0036->0x0103							; " for input"
00e9 003e       | >  |		.STRTAB	0x003e->0x0108							; "Cannot create "
00ea 004a       | J  |		.STRTAB	0x004a->0x010f							; " for output"
00eb 0053       | S  |		.STREND 0x0053->0x0114
00ec 2020 2020  |    |		.STRTAB_STRINGS
0115 0000 0000  |    |		.XXX[0x3]
0117 0000       |    |
0118 ; --------------------------------------------------------------------------------------
0118 ; Debug Table
0118 ; --------------------------------------------------------------------------------------
0118 0004 0009  |    |		.DEBUG4	0x0004,0x0009,0x8620,0x0000,0x0001,0x0000
011e 0000 0000  |    |		.BLANK	0000[0xe2]