test.abi

Sapphire/db/abi/test.abi · 1.6 KB

From the archive sapphire_0.3.zip

Download the archive   « Back to the archive contents

;
; test.abi
;
; Copyright (C) 1996 Christopher D. Granz
; All rights reserved
;
; Compiles to .emo file.  8th format.
;

int4 8061981                 ; Magic number.

int1 8                       ; File format version.

int2 39                      ; File information.
string "Copyright (C) 1996 Christopher D. Granz"

int2 3                       ; Number of entries in the symbol table.
;
; Symbol Table
;
int2 4
string "main"
int2 10
string "cmd_testem"
int2 13
string "iadd_game_cmd"

int2 1                       ; Number of functions.

;
; Function: main()
;
int4 0                       ; Function flags.
int1 0                       ; Number of arguments.
int1 0                       ; Number of return values.
int2 0                       ; Symbol table reference.
int4 34                      ; Code size.
; Function code.
int1 8                       ; PUSH_INT1
int1 1
int1 8                       ; PUSH_INT1
int1 101
int1 8                       ; PUSH_INT1
int1 0
int1 8                       ; PUSH_INT1
int1 1
int1 13                      ; PUSH_STRING
int2 6
string "TestEm"
int1 77                      ; TRANS_FUNC
int2 1
int1 76                      ; TRANS_BUILTIN_FUNC
int2 2
int1 38                      ; CALL_BUILTIN_FUNC
int1 6
int1 3                   ; TYPE_INT
int1 5                   ; TYPE_STRING
int1 3                   ; TYPE_INT
int1 3                   ; TYPE_INT
int1 3                   ; TYPE_INT
int1 3                   ; TYPE_INT
int1 1
int1 3                   ; TYPE_INT
int1 0                       ; END
; Function code end.

;
; End of test.abi
;

Site Stats

Snippets: 1791
Codebases: 571