YACASL2
Loading...
Searching...
No Matches
load.c File Reference
#include "load.h"
Include dependency graph for load.c:

Go to the source code of this file.

Functions

void addcerrlist_load ()
 アセンブル結果読み込みエラーをエラーリストに追加する
WORD loadassemble (const char *file, WORD start)
 指定されたファイルからアセンブル結果を読み込む

Variables

static CERR cerr_load []
 ファイル読み込みのエラー定義

Function Documentation

◆ addcerrlist_load()

void addcerrlist_load ( )

アセンブル結果読み込みエラーをエラーリストに追加する

Definition at line 15 of file load.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadassemble()

WORD loadassemble ( const char * file,
WORD start )

指定されたファイルからアセンブル結果を読み込む

Returns
読み込み終了アドレス。読み込めなかった場合は、0
Parameters
file読み込むファイル名
start読み込み開始アドレス

Definition at line 20 of file load.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ cerr_load

CERR cerr_load[]
static
Initial value:
= {
{ 210, "load - memory overflow" },
{ 211, "object file not specified" },
{ 212, "invalid option" },
{ 213, "invalid argument" },
}

ファイル読み込みのエラー定義

Definition at line 7 of file load.c.