#include "casl2.h"
#include "assemble.h"
+/* アセンブルモード: src, label, onlylabel, asdetail, onlyassemble */
+ASMODE asmode = {false, false, false, false, false};
+
/* 値を格納するポインタ */
WORD ptr;
for(; ;) {
/* 閉じ「'」がないまま文字列が終了した場合 */
if(*p == '\0') {
- setcerr(123, str); /* illegal string */
+ setcerr(123, str); /* unclosed quote */
break;
}
/* 「'」の場合、次の文字が「'」でない場合は正常終了 */
CMDARRAY ascmd[] = {
{ START, 0, 1, "START" },
{ END, 0, 0, "END" },
- { DC, 0, OPDSIZE, "DC" },
+ { DC, 1, OPDSIZE, "DC" },
{ DS, 1, 1, "DS" },
{ 0, 0, 0, NULL }
};