opd 44 include/token.h OPD *opd; /**<オペランド */ opd 433 src/assemble.c if(cmdl->opd->opdc > 1) { opd 444 src/assemble.c if(cmdl->opd->opdv[0] != NULL) { opd 445 src/assemble.c asptr->ptr = execptr->start = getadr(asptr->prog, cmdl->opd->opdv[0], pass); opd 451 src/assemble.c if(cmdl->opd->opdc > 0) { opd 468 src/assemble.c if(cmdl->opd->opdc != 1) { opd 472 src/assemble.c for(int i = 0; i < atoi(cmdl->opd->opdv[0]); i++) { opd 482 src/assemble.c if(cmdl->opd->opdc == 0 || cmdl->opd->opdc >= OPDSIZE) { opd 486 src/assemble.c for(int i = 0; i < cmdl->opd->opdc; i++) { opd 487 src/assemble.c writedc(cmdl->opd->opdv[i], pass); opd 498 src/assemble.c if(cmdl->opd->opdc == 0 || cmdl->opd->opdc > 2) { opd 504 src/assemble.c sprintf(line, " LAD GR1,%s", cmdl->opd->opdv[0]); opd 506 src/assemble.c sprintf(line, " LAD GR2,%s", cmdl->opd->opdv[1]); opd 518 src/assemble.c if(cmdl->opd->opdc == 0 || cmdl->opd->opdc > 2) { opd 524 src/assemble.c sprintf(line, " LAD GR1,%s", cmdl->opd->opdv[0]); opd 526 src/assemble.c sprintf(line, " LAD GR2,%s", cmdl->opd->opdv[1]); opd 541 src/assemble.c if(cmdl->opd->opdc > 0) { opd 556 src/assemble.c if(cmdl->opd->opdc > 0) { opd 589 src/assemble.c if(cmdl->opd->opdc == 0) { opd 597 src/assemble.c else if((r_r1 = grword(cmdl->opd->opdv[0], false)) != 0xFFFF) { opd 599 src/assemble.c if(cmdl->opd->opdc == 1) { opd 608 src/assemble.c else if(cmdl->opd->opdc == 2 && (x_r2 = grword(cmdl->opd->opdv[1], false)) != 0xFFFF) { opd 618 src/assemble.c else if(cmdl->opd->opdc == 2 || cmdl->opd->opdc == 3) { opd 625 src/assemble.c if(cmdl->opd->opdc == 3) { /* 第3オペランドは指標レジスタとして用いる汎用レジスタ */ opd 626 src/assemble.c if((x_r2 = grword(cmdl->opd->opdv[2], true)) == 0xFFFF) { opd 632 src/assemble.c adr = getadr(asptr->prog, cmdl->opd->opdv[1], pass); /* 第2オペランドはアドレス */ opd 642 src/assemble.c else if(cmdl->opd->opdc == 1 || cmdl->opd->opdc == 2) { opd 648 src/assemble.c if(cmdl->opd->opdc == 2) { /* 第2オペランドは指標レジスタとして用いる汎用レジスタ */ opd 649 src/assemble.c x_r2 = grword(cmdl->opd->opdv[1], true); opd 659 src/assemble.c adr = getlabel("", cmdl->opd->opdv[0]); opd 662 src/assemble.c adr = getadr(asptr->prog, cmdl->opd->opdv[0], pass); opd 706 src/assemble.c if(cmdl->opd != NULL) { opd 707 src/assemble.c for(int i = 0; i < cmdl->opd->opdc; i++) { opd 708 src/assemble.c FREE(cmdl->opd->opdv[i]); opd 711 src/assemble.c FREE(cmdl->opd); opd 32 src/token.c OPD *opd = malloc_chk(sizeof(OPD), "opd"); opd 37 src/token.c opd->opdc = 0; opd 39 src/token.c return opd; opd 44 src/token.c if(opd->opdc >= OPDSIZE) { opd 81 src/token.c opd->opdv[(opd->opdc)++] = strndup_chk(p, i, "opd->opdv[]"); opd 87 src/token.c return opd; opd 156 src/token.c cmdl->opd = opdtok(p); opd 37 test/unit/linetok/cmd.c printf("cl->opdc: %d\n", testcl->opd->opdc); opd 38 test/unit/linetok/cmd.c for(j = 0; j < testcl->opd->opdc; j++) { opd 39 test/unit/linetok/cmd.c printf("cl->opdv[%d]: %s\n", j, testcl->opd->opdv[j]); opd 9 test/unit/opdtok/cmd.c OPD *opd; opd 24 test/unit/opdtok/cmd.c opd = opdtok(str[i]); opd 25 test/unit/opdtok/cmd.c printf("OPDC:%d\n", opd->opdc); opd 26 test/unit/opdtok/cmd.c for(j = 0; j < opd->opdc; j++) { opd 27 test/unit/opdtok/cmd.c printf("OPDC[%d]:%s\n", j, opd->opdv[j]);