YACASL2
Loading...
Searching...
No Matches
Casl2cmd Class Reference

casl2cmdから関数ポインタで呼び出される関数 More...

Collaboration diagram for Casl2cmd:

(Note that these are not member symbols.)

void assemble_start (const CMDLINE *cmdl, PASS pass)
 アセンブラ命令STARTの処理
void assemble_ds (const CMDLINE *cmdl, PASS pass)
 アセンブラ命令DSの処理
void assemble_end (const CMDLINE *cmdl, PASS pass)
 アセンブラ命令ENDの処理
void assemble_dc (const CMDLINE *cmdl, PASS pass)
 アセンブラ命令DCの処理
void assemble_in (const CMDLINE *cmdl, PASS pass)
 マクロ命令 "IN IBUF,LEN" をアセンブル
void assemble_out (const CMDLINE *cmdl, PASS pass)
 マクロ命令 "OUT OBUF,LEN" をアセンブル
void assemble_rpush (const CMDLINE *cmdl, PASS pass)
 マクロ命令 "RPUSH" をメモリに書き込む
void assemble_rpop (const CMDLINE *cmdl, PASS pass)
 マクロ命令 "RPOP" をメモリに書き込む
bool casl2cmd (CMD *cmdtbl, const CMDLINE *cmdl, PASS pass)
 アセンブラ言語CASL IIの命令を処理する。

Detailed Description

casl2cmdから関数ポインタで呼び出される関数

◆ assemble_dc()

void assemble_dc ( const CMDLINE * cmdl,
PASS pass )
related

アセンブラ命令DCの処理

Parameters
*cmdl1行分のラベル・コマンド・オペランド
passアセンブラが何回目かを表す数

Definition at line 456 of file assemble.c.

Here is the call graph for this function:

◆ assemble_ds()

void assemble_ds ( const CMDLINE * cmdl,
PASS pass )
related

アセンブラ命令DSの処理

Parameters
*cmdl1行分のラベル・コマンド・オペランド
passアセンブラが何回目かを表す数

Definition at line 442 of file assemble.c.

Here is the call graph for this function:

◆ assemble_end()

void assemble_end ( const CMDLINE * cmdl,
PASS pass )
related

アセンブラ命令ENDの処理

Parameters
*cmdl1行分のラベル・コマンド・オペランド
passアセンブラが何回目かを表す数

Definition at line 425 of file assemble.c.

Here is the call graph for this function:

◆ assemble_in()

void assemble_in ( const CMDLINE * cmdl,
PASS pass )
related

マクロ命令 "IN IBUF,LEN" をアセンブル

PUSH 0,GR1
PUSH 0,GR2
LAD GR1,IBUF
LAD GR2,LEN
SVC 1
POP GR2
POP GR1
Parameters
*cmdl1行分のラベル・コマンド・オペランド
passアセンブラが何回目かを表す数

Definition at line 470 of file assemble.c.

Here is the call graph for this function:

◆ assemble_out()

void assemble_out ( const CMDLINE * cmdl,
PASS pass )
related

マクロ命令 "OUT OBUF,LEN" をアセンブル

PUSH 0,GR1
PUSH 0,GR2
LAD GR1,OBUF
LAD GR2,LEN
SVC 2
LAD GR1,=#A
LAD GR2,=1
SVC 2
POP GR2
POP GR1
Parameters
*cmdl1行分のラベル・コマンド・オペランド
passアセンブラが何回目かを表す数

Definition at line 490 of file assemble.c.

Here is the call graph for this function:

◆ assemble_rpop()

void assemble_rpop ( const CMDLINE * cmdl,
PASS pass )
related

マクロ命令 "RPOP" をメモリに書き込む

POP GR7
POP GR6
POP GR5
POP GR4
POP GR3
POP GR3
POP GR2
POP GR1
Parameters
*cmdl1行分のラベル・コマンド・オペランド
passアセンブラが何回目かを表す数

Definition at line 528 of file assemble.c.

Here is the call graph for this function:

◆ assemble_rpush()

void assemble_rpush ( const CMDLINE * cmdl,
PASS pass )
related

マクロ命令 "RPUSH" をメモリに書き込む

PUSH 0,GR1
PUSH 0,GR2
PUSH 0,GR3
PUSH 0,GR4
PUSH 0,GR5
PUSH 0,GR6
PUSH 0,GR7
Parameters
*cmdl1行分のラベル・コマンド・オペランド
passアセンブラが何回目かを表す数

Definition at line 513 of file assemble.c.

Here is the call graph for this function:

◆ assemble_start()

void assemble_start ( const CMDLINE * cmdl,
PASS pass )
related

アセンブラ命令STARTの処理

Parameters
*cmdl1行分のラベル・コマンド・オペランド
passアセンブラが何回目かを表す数

Definition at line 407 of file assemble.c.

Here is the call graph for this function:

◆ casl2cmd()

bool casl2cmd ( CMD * cmdtbl,
const CMDLINE * cmdl,
PASS pass )
related

アセンブラ言語CASL IIの命令を処理する。

エラー発生時は、cerrを設定

Returns
命令が表で定義されている場合はtrue、それ以外の場合はfalseを返す
Parameters
*cmdtblアセンブラ言語CASL IIの命令表
*cmdl1行分のラベル・コマンド・オペランド
passアセンブルが何回目か

Definition at line 543 of file assemble.c.


The documentation for this class was generated from the following file: