声明
语法
declaration = numbertype / structuredtype / label / lcl2uhr /
uhr2rmt / pipetype;
numbertype = : ("REAL" / "INTEGER") ("CONSTANT" conlist /
varlist);
conlist =
.id '(left arrow symbol)constant
$('. .id '(left arrow symbol)constant);
varlist =
.id ('(left arrow symbol)constant / .empty)
$('. .id('(left arrow symbol)constant / .empty));
idlist = .id $('. .id);
structuredtype = (tree" / "pointer" / "buffer" ) idlist;
label = "LABEL1" idlist;
pipetype = PIPE" pairedids $(', pairedids);
pairedids = .id .id;
procname = .id;
integerv = .id;
pipename = .id;
labelv = .id;
被声明为常量的变量,可以在运行时放入只读存储器。
label 声明用于声明这样一些单元,其值可以是程序中各标签的机器地址。这不是 B5500 的标签声明。
在 pipe 声明中,每一对中的第一个 .ID 是管道的名称,第二个是该管道的初始起点。