<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <title>opd</title> <meta name='robots' content='noindex,nofollow' /> <meta name='generator' content='GLOBAL-6.6.5' /> <meta http-equiv='Content-Style-Type' content='text/css' /> <link rel='stylesheet' type='text/css' href='../style.css' /> </head> <body> <pre> <span class='curline'><a href='../S/2422.html#L44'>opd</a> 44 include/token.h OPD *opd; /**<オペランド */</span> <span class='curline'><a href='../S/2837.html#L433'>opd</a> 433 src/assemble.c if(cmdl->opd->opdc > 1) {</span> <span class='curline'><a href='../S/2837.html#L444'>opd</a> 444 src/assemble.c if(cmdl->opd->opdv[0] != NULL) {</span> <span class='curline'><a href='../S/2837.html#L445'>opd</a> 445 src/assemble.c asptr->ptr = execptr->start = getadr(asptr->prog, cmdl->opd->opdv[0], pass);</span> <span class='curline'><a href='../S/2837.html#L451'>opd</a> 451 src/assemble.c if(cmdl->opd->opdc > 0) {</span> <span class='curline'><a href='../S/2837.html#L468'>opd</a> 468 src/assemble.c if(cmdl->opd->opdc != 1) {</span> <span class='curline'><a href='../S/2837.html#L472'>opd</a> 472 src/assemble.c for(int i = 0; i < atoi(cmdl->opd->opdv[0]); i++) {</span> <span class='curline'><a href='../S/2837.html#L482'>opd</a> 482 src/assemble.c if(cmdl->opd->opdc == 0 || cmdl->opd->opdc >= OPDSIZE) {</span> <span class='curline'><a href='../S/2837.html#L486'>opd</a> 486 src/assemble.c for(int i = 0; i < cmdl->opd->opdc; i++) {</span> <span class='curline'><a href='../S/2837.html#L487'>opd</a> 487 src/assemble.c writedc(cmdl->opd->opdv[i], pass);</span> <span class='curline'><a href='../S/2837.html#L498'>opd</a> 498 src/assemble.c if(cmdl->opd->opdc == 0 || cmdl->opd->opdc > 2) {</span> <span class='curline'><a href='../S/2837.html#L504'>opd</a> 504 src/assemble.c sprintf(line, " LAD GR1,%s", cmdl->opd->opdv[0]);</span> <span class='curline'><a href='../S/2837.html#L506'>opd</a> 506 src/assemble.c sprintf(line, " LAD GR2,%s", cmdl->opd->opdv[1]);</span> <span class='curline'><a href='../S/2837.html#L518'>opd</a> 518 src/assemble.c if(cmdl->opd->opdc == 0 || cmdl->opd->opdc > 2) {</span> <span class='curline'><a href='../S/2837.html#L524'>opd</a> 524 src/assemble.c sprintf(line, " LAD GR1,%s", cmdl->opd->opdv[0]);</span> <span class='curline'><a href='../S/2837.html#L526'>opd</a> 526 src/assemble.c sprintf(line, " LAD GR2,%s", cmdl->opd->opdv[1]);</span> <span class='curline'><a href='../S/2837.html#L541'>opd</a> 541 src/assemble.c if(cmdl->opd->opdc > 0) {</span> <span class='curline'><a href='../S/2837.html#L556'>opd</a> 556 src/assemble.c if(cmdl->opd->opdc > 0) {</span> <span class='curline'><a href='../S/2837.html#L589'>opd</a> 589 src/assemble.c if(cmdl->opd->opdc == 0) {</span> <span class='curline'><a href='../S/2837.html#L597'>opd</a> 597 src/assemble.c else if((r_r1 = grword(cmdl->opd->opdv[0], false)) != 0xFFFF) {</span> <span class='curline'><a href='../S/2837.html#L599'>opd</a> 599 src/assemble.c if(cmdl->opd->opdc == 1) {</span> <span class='curline'><a href='../S/2837.html#L608'>opd</a> 608 src/assemble.c else if(cmdl->opd->opdc == 2 && (x_r2 = grword(cmdl->opd->opdv[1], false)) != 0xFFFF) {</span> <span class='curline'><a href='../S/2837.html#L618'>opd</a> 618 src/assemble.c else if(cmdl->opd->opdc == 2 || cmdl->opd->opdc == 3) {</span> <span class='curline'><a href='../S/2837.html#L625'>opd</a> 625 src/assemble.c if(cmdl->opd->opdc == 3) { /* 第3オペランドは指標レジスタとして用いる汎用レジスタ */</span> <span class='curline'><a href='../S/2837.html#L626'>opd</a> 626 src/assemble.c if((x_r2 = grword(cmdl->opd->opdv[2], true)) == 0xFFFF) {</span> <span class='curline'><a href='../S/2837.html#L632'>opd</a> 632 src/assemble.c adr = getadr(asptr->prog, cmdl->opd->opdv[1], pass); /* 第2オペランドはアドレス */</span> <span class='curline'><a href='../S/2837.html#L642'>opd</a> 642 src/assemble.c else if(cmdl->opd->opdc == 1 || cmdl->opd->opdc == 2) {</span> <span class='curline'><a href='../S/2837.html#L648'>opd</a> 648 src/assemble.c if(cmdl->opd->opdc == 2) { /* 第2オペランドは指標レジスタとして用いる汎用レジスタ */</span> <span class='curline'><a href='../S/2837.html#L649'>opd</a> 649 src/assemble.c x_r2 = grword(cmdl->opd->opdv[1], true);</span> <span class='curline'><a href='../S/2837.html#L659'>opd</a> 659 src/assemble.c adr = getlabel("", cmdl->opd->opdv[0]);</span> <span class='curline'><a href='../S/2837.html#L662'>opd</a> 662 src/assemble.c adr = getadr(asptr->prog, cmdl->opd->opdv[0], pass);</span> <span class='curline'><a href='../S/2837.html#L706'>opd</a> 706 src/assemble.c if(cmdl->opd != NULL) {</span> <span class='curline'><a href='../S/2837.html#L707'>opd</a> 707 src/assemble.c for(int i = 0; i < cmdl->opd->opdc; i++) {</span> <span class='curline'><a href='../S/2837.html#L708'>opd</a> 708 src/assemble.c FREE(cmdl->opd->opdv[i]);</span> <span class='curline'><a href='../S/2837.html#L711'>opd</a> 711 src/assemble.c FREE(cmdl->opd);</span> <span class='curline'><a href='../S/2820.html#L32'>opd</a> 32 src/token.c OPD *opd = malloc_chk(sizeof(OPD), "opd");</span> <span class='curline'><a href='../S/2820.html#L37'>opd</a> 37 src/token.c opd->opdc = 0;</span> <span class='curline'><a href='../S/2820.html#L39'>opd</a> 39 src/token.c return opd;</span> <span class='curline'><a href='../S/2820.html#L44'>opd</a> 44 src/token.c if(opd->opdc >= OPDSIZE) {</span> <span class='curline'><a href='../S/2820.html#L81'>opd</a> 81 src/token.c opd->opdv[(opd->opdc)++] = strndup_chk(p, i, "opd->opdv[]");</span> <span class='curline'><a href='../S/2820.html#L87'>opd</a> 87 src/token.c return opd;</span> <span class='curline'><a href='../S/2820.html#L156'>opd</a> 156 src/token.c cmdl->opd = opdtok(p);</span> <span class='curline'><a href='../S/951.html#L37'>opd</a> 37 test/unit/linetok/cmd.c printf("cl->opdc: %d\n", testcl->opd->opdc);</span> <span class='curline'><a href='../S/951.html#L38'>opd</a> 38 test/unit/linetok/cmd.c for(j = 0; j < testcl->opd->opdc; j++) {</span> <span class='curline'><a href='../S/951.html#L39'>opd</a> 39 test/unit/linetok/cmd.c printf("cl->opdv[%d]: %s\n", j, testcl->opd->opdv[j]);</span> <span class='curline'><a href='../S/972.html#L9'>opd</a> 9 test/unit/opdtok/cmd.c OPD *opd;</span> <span class='curline'><a href='../S/972.html#L24'>opd</a> 24 test/unit/opdtok/cmd.c opd = opdtok(str[i]);</span> <span class='curline'><a href='../S/972.html#L25'>opd</a> 25 test/unit/opdtok/cmd.c printf("OPDC:%d\n", opd->opdc);</span> <span class='curline'><a href='../S/972.html#L26'>opd</a> 26 test/unit/opdtok/cmd.c for(j = 0; j < opd->opdc; j++) {</span> <span class='curline'><a href='../S/972.html#L27'>opd</a> 27 test/unit/opdtok/cmd.c printf("OPDC[%d]:%s\n", j, opd->opdv[j]);</span> </pre> </body> </html>