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

⟦17194f404⟧

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

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 00c8       |    |		.CONST	0x00c8								; 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 0075       | u  |		.CONST	0x0075								; Address of begin
0009 0004       |    |		.CONST	0x0004								; Address of exception handler
000a 0004       |    |		.CONST	0x0004								; Number of locals
000b			INIT_0008:
000b 4801       |H   |		Short_Literal	0x1
000c 4801       |H   |		Short_Literal	0x1
000d e009       |    |		Load	0x0,0x9
000e 1b0e       |    |		Execute	Package,Field_Read,Field_Number 0xe
000f 035b       | [  |		Declare_Type	Array,Constrained
0010 0337       | 7  |		Declare_Variable	Array
0011 e20f       |    |		Load	0x1,0xf
0012 0092 0077  |   w|		Action	Push_String_Extended,0x77					; "error:"
0014 e009       |    |		Load	0x0,0x9
0015 1814       |    |		Execute	Package,Field_Execute,Field_Number 0x14
0016 e009       |    |		Load	0x0,0x9
0017 1b0d       |    |		Execute	Package,Field_Read,Field_Number 0xd
0018 0119       |    |		Execute	Any,Check_In_Formal_Type
0019 4801       |H   |		Short_Literal	0x1
001a 00da       |    |		Load_Top	At_Offset_2
001b 01d6       |    |		Execute	Vector,Field_Write
001c 4801       |H   |		Short_Literal	0x1
001d 4801       |H   |		Short_Literal	0x1
001e e009       |    |		Load	0x0,0x9
001f 1b0e       |    |		Execute	Package,Field_Read,Field_Number 0xe
0020 035b       | [  |		Declare_Type	Array,Constrained
0021 0337       | 7  |		Declare_Variable	Array
0022 e20f       |    |		Load	0x1,0xf
0023 0092 0078  |   x|		Action	Push_String_Extended,0x78					; "warning:"
0025 e009       |    |		Load	0x0,0x9
0026 1814       |    |		Execute	Package,Field_Execute,Field_Number 0x14
0027 e009       |    |		Load	0x0,0x9
0028 1b0d       |    |		Execute	Package,Field_Read,Field_Number 0xd
0029 0119       |    |		Execute	Any,Check_In_Formal_Type
002a 4801       |H   |		Short_Literal	0x1
002b 00da       |    |		Load_Top	At_Offset_2
002c 01d6       |    |		Execute	Vector,Field_Write
002d e009       |    |		Load	0x0,0x9
002e 1b0f       |    |		Execute	Package,Field_Read,Field_Number 0xf
002f 02c7       |    |		Declare_Variable	Any
0030 e20f       |    |		Load	0x1,0xf
0031 4800       |H   |		Short_Literal	0x0
0032 00db       |    |		Load_Top	At_Offset_3
0033 e402       |    |		Load	0x2,0x2
0034 4801       |H   |		Short_Literal	0x1
0035 4801       |H   |		Short_Literal	0x1
0036 00e9       |    |		Load_Encached	String_Cache
0037 035b       | [  |		Declare_Type	Array,Constrained
0038 0337       | 7  |		Declare_Variable	Array
0039 480d       |H   |		Short_Literal	0xd
003a 4801       |H   |		Short_Literal	0x1
003b 00da       |    |		Load_Top	At_Offset_2
003c 01d6       |    |		Execute	Vector,Field_Write
003d 4802       |H   |		Short_Literal	0x2
003e 4802       |H   |		Short_Literal	0x2
003f 00e9       |    |		Load_Encached	String_Cache
0040 035b       | [  |		Declare_Type	Array,Constrained
0041 0337       | 7  |		Declare_Variable	Array
0042 480d       |H   |		Short_Literal	0xd
0043 4802       |H   |		Short_Literal	0x2
0044 00da       |    |		Load_Top	At_Offset_2
0045 01d6       |    |		Execute	Vector,Field_Write
0046 01cc       |    |		Execute	Vector,Catenate
0047 4803       |H   |		Short_Literal	0x3
0048 4803       |H   |		Short_Literal	0x3
0049 00e9       |    |		Load_Encached	String_Cache
004a 035b       | [  |		Declare_Type	Array,Constrained
004b 0337       | 7  |		Declare_Variable	Array
004c 480d       |H   |		Short_Literal	0xd
004d 4803       |H   |		Short_Literal	0x3
004e 00da       |    |		Load_Top	At_Offset_2
004f 01d6       |    |		Execute	Vector,Field_Write
0050 01cc       |    |		Execute	Vector,Catenate
0051 4804       |H   |		Short_Literal	0x4
0052 4804       |H   |		Short_Literal	0x4
0053 00e9       |    |		Load_Encached	String_Cache
0054 035b       | [  |		Declare_Type	Array,Constrained
0055 0337       | 7  |		Declare_Variable	Array
0056 480d       |H   |		Short_Literal	0xd
0057 4804       |H   |		Short_Literal	0x4
0058 00da       |    |		Load_Top	At_Offset_2
0059 01d6       |    |		Execute	Vector,Field_Write
005a 01cc       |    |		Execute	Vector,Catenate
005b 00ea       |    |		Load_Encached	Null_String_Cache
005c 0092 0079  |   y|		Action	Push_String_Extended,0x79					; "/bin/sh -c 'PS1=\x22$ \x22;export PS1;/bin/sh'"
005e 0092 007a  |   z|		Action	Push_String_Extended,0x7a					; "test -r"
0060 4801       |H   |		Short_Literal	0x1
0061 4801       |H   |		Short_Literal	0x1
0062 0092 007b  |   {|		Action	Push_String_Extended,0x7b					; "echo $?"
0064 4801       |H   |		Short_Literal	0x1
0065 00ea       |    |		Load_Encached	Null_String_Cache
0066 00ea       |    |		Load_Encached	Null_String_Cache
0067 00ea       |    |		Load_Encached	Null_String_Cache
0068 00ea       |    |		Load_Encached	Null_String_Cache
0069 0092 007c  |   ||		Action	Push_String_Extended,0x7c					; "$ "
006b 0092 007d  |   }|		Action	Push_String_Extended,0x7d					; "You entered an invalid login name or password"
006d 0092 007e  |   ~|		Action	Push_String_Extended,0x7e					; "Password:"
006f 00ea       |    |		Load_Encached	Null_String_Cache
0070 0092 007f  |    |		Action	Push_String_Extended,0x7f					; "login: "
0072 e009       |    |		Load	0x0,0x9
0073 1815       |    |		Execute	Package,Field_Execute,Field_Number 0x15
0074 a404       |    |		Store_Unchecked	0x2,0x4
0075			BODY_0008:
0075 00d8       |    |		Load_Top	At_Offset_0
0076 00ca       |    |		Action	Exit_Nullary_Function
0077 ; --------------------------------------------------------------------------------------
0077 ; STRING TABLE
0077 ; --------------------------------------------------------------------------------------
0077 0014       |    |		.STRTAB	0x0014->0x0081							; "error:"
0078 0018       |    |		.STRTAB	0x0018->0x0084							; "warning:"
0079 001e       |    |		.STRTAB	0x001e->0x0088							; "/bin/sh -c 'PS1=\x22$ \x22;export PS1;/bin/sh'"
007a 0044       | D  |		.STRTAB	0x0044->0x009c							; "test -r"
007b 0049       | I  |		.STRTAB	0x0049->0x009f							; "echo $?"
007c 004e       | N  |		.STRTAB	0x004e->0x00a3							; "$ "
007d 004e       | N  |		.STRTAB	0x004e->0x00a4							; "You entered an invalid login name or password"
007e 0079       | y  |		.STRTAB	0x0079->0x00ba							; "Password:"
007f 0080       |    |		.STRTAB	0x0080->0x00bf							; "login: "
0080 0085       |    |		.STREND 0x0085->0x00c2
0081 6572 726f  |erro|		.STRTAB_STRINGS
00c3 0000 0000  |    |		.BLANK	0000[0x5]
00c8 ; --------------------------------------------------------------------------------------
00c8 ; Debug Table
00c8 ; --------------------------------------------------------------------------------------
00c8 0004 0009  |    |		.DEBUG4	0x0004,0x0009,0x5fc7,0x0000,0x0001,0x0001
00ce 000b 00d2  |    |		.DBG4T	0x000b,0x00d2,0x0002,0x0000
00d2 ; --------------------------------------------------------------------------------------
00d2 ; Debug chain
00d2 ; --------------------------------------------------------------------------------------
00d2 0003 0001  |    |		.DBGLEN	0x0003,0x0001
00d4 000b 001c  |    |		.DBGLNO	0x000b,0x001c,0x002d,0x0075
00d8 0000 0000  |    |		.BLANK	0000[0x128]