cmd                30 include/monitor.h     char *cmd;                  /**<コマンド */
cmd                94 include/monitor.h MONCMDTYPE monitorcmd(char *cmd, MONARGS *args);
cmd               124 include/struct.h     const COMET2CMD *cmd;       /**<命令コード表の項目 */
cmd               193 include/struct.h WORD getcmdcode(const char *cmd, CMDTYPE type);
cmd                43 include/token.h     char *cmd;                  /**<コマンド */
cmd               572 src/assemble.c         if(strcmp(cmdl->cmd, cmdtbl[i].name) == 0) {
cmd               583 src/assemble.c     WORD cmd = 0;
cmd               590 src/assemble.c         if((cmd = getcmdcode(cmdl->cmd, NONE)) == 0xFFFF) {
cmd               591 src/assemble.c             setcerr(112, cmdl->cmd);    /* not command of no operand */
cmd               594 src/assemble.c         writememory(cmd, (asptr->ptr)++, pass);
cmd               600 src/assemble.c             if((cmd = getcmdcode(cmdl->cmd, R_)) == 0xFFFF) {
cmd               601 src/assemble.c                 setcerr(108, cmdl->cmd);    /* not command of operand "r" */
cmd               604 src/assemble.c             cmd |= (r_r1 << 4);
cmd               605 src/assemble.c             writememory(cmd, (asptr->ptr)++, pass);
cmd               609 src/assemble.c             if((cmd = getcmdcode(cmdl->cmd, R1_R2)) == 0xFFFF) {
cmd               610 src/assemble.c                 setcerr(109, cmdl->cmd);    /* not command of operand "r1,r2" */
cmd               613 src/assemble.c             cmd |= ((r_r1 << 4) | x_r2);               /* 第1オペランド、第2オペランドともに汎用レジスタ */
cmd               615 src/assemble.c             writememory(cmd, (asptr->ptr)++, pass);
cmd               619 src/assemble.c             if((cmd = getcmdcode(cmdl->cmd, R_ADR_X)) == 0xFFFF) {
cmd               620 src/assemble.c                 setcerr(110, cmdl->cmd);    /* not command of operand "r,adr[,x]" */
cmd               623 src/assemble.c             cmd |= (r_r1 << 4);                    /* 第1オペランドは汎用レジスタ */
cmd               627 src/assemble.c                     setcerr(125, cmdl->cmd);    /* not GR in operand x */
cmd               630 src/assemble.c                 cmd |= x_r2;
cmd               634 src/assemble.c             writememory(cmd, (asptr->ptr)++, pass);
cmd               637 src/assemble.c             setcerr(113, cmdl->cmd);    /* operand too many in COMET II command */
cmd               643 src/assemble.c         if((cmd = getcmdcode(cmdl->cmd, ADR_X)) == 0xFFFF) {
cmd               644 src/assemble.c             setcerr(111, cmdl->cmd);    /* not command of operand "adr[,x]" */
cmd               653 src/assemble.c             cmd |= x_r2;
cmd               658 src/assemble.c         if(pass == SECOND && cmd == 0x8000) {        /* CALL命令 */
cmd               661 src/assemble.c         if(cmd != 0x8000 || (pass == SECOND && adr == 0xFFFF)) {
cmd               665 src/assemble.c         writememory(cmd, (asptr->ptr)++, pass);
cmd               674 src/assemble.c     if(!cmdl->cmd[0]) {
cmd               682 src/assemble.c                 setcerr(113, cmdl->cmd);    /* operand too many in COMET II command */
cmd               712 src/assemble.c         FREE(cmdl->cmd);
cmd               189 src/disassemble.c     WORD cmd = 0;
cmd               205 src/disassemble.c         cmd = word & 0xFF00;
cmd               206 src/disassemble.c         cmdname = getcmdname(cmd);
cmd               207 src/disassemble.c         cmdtype = getcmdtype(cmd);
cmd               220 src/disassemble.c         } else if(cmd == 0) {
cmd               228 src/disassemble.c             inst = (cmd != 0x8100) ? true : false;
cmd               240 src/disassemble.c     WORD cmd = 0;
cmd               246 src/disassemble.c         cmd = sys->memory[i] & 0xFF00;
cmd               247 src/disassemble.c         cmdname = getcmdname(cmd);
cmd               248 src/disassemble.c         cmdtype = getcmdtype(cmd);
cmd               255 src/disassemble.c         } else if(cmd == 0) {
cmd               264 src/disassemble.c             inst = (cmd != 0x8100) ? true : false;
cmd               165 src/monitor.c      moncmdl->cmd = strndup_chk(p, i, "moncmdl->cmd");
cmd               287 src/monitor.c  MONCMDTYPE monitorcmd(char *cmd, MONARGS *args)
cmd               290 src/monitor.c      if(stracmp(cmd, 2, (char* []){"a", "assemble"})) {
cmd               298 src/monitor.c      } else if(stracmp(cmd, 2, (char* []){"b", "break"})) {
cmd               300 src/monitor.c      } else if(stracmp(cmd, 2, (char* []){"c", "continue"})) {
cmd               303 src/monitor.c      } else if(stracmp(cmd, 2, (char* []){"d", "dump"})) {
cmd               305 src/monitor.c      } else if(stracmp(cmd, 2, (char* []){"l", "load"})) {
cmd               307 src/monitor.c      } else if(stracmp(cmd, 2, (char* []){"n", "next"})) {
cmd               310 src/monitor.c      } else if(stracmp(cmd, 2, (char* []){"q", "quit"})) {
cmd               313 src/monitor.c      } else if(stracmp(cmd, 2, (char* []){"r", "reverse"})) {
cmd               317 src/monitor.c      } else if(stracmp(cmd, 1, (char* []){"reset"})) {
cmd               320 src/monitor.c      } else if(stracmp(cmd, 2, (char* []){"t", "trace"})) {
cmd               330 src/monitor.c      } else if(stracmp(cmd, 2, (char* []){"T", "tracelogical"})) {
cmd               340 src/monitor.c      } else if(stracmp(cmd, 3, (char* []){"?", "h", "help"})) {
cmd               367 src/monitor.c      if(moncmdl->cmd != NULL) {
cmd               368 src/monitor.c          FREE(moncmdl->cmd);
cmd               405 src/monitor.c              cmdtype = monitorcmd(moncmdl->cmd, moncmdl->args);
cmd                78 src/struct.c   unsigned hash_cmdtype(const char *cmd, CMDTYPE type);
cmd                88 src/struct.c   unsigned hash_cmdtype(const char *cmd, CMDTYPE type)
cmd                96 src/struct.c       keys[0]->val.s = strdup_chk(cmd, "keys[0].val.s");
cmd               120 src/struct.c           p->cmd = &comet2cmd[i];
cmd               153 src/struct.c   WORD getcmdcode(const char *cmd, CMDTYPE type)
cmd               158 src/struct.c       assert(cmd != NULL);
cmd               159 src/struct.c       for(p = cmdtab[HASH_CMDTYPE][hash_cmdtype(cmd, type)]; p != NULL; p = p->next) {
cmd               160 src/struct.c           if(strcmp(cmd, p->cmd->name) == 0 && type == p->cmd->type) {
cmd               161 src/struct.c               w = p->cmd->code;
cmd               194 src/struct.c           if(code == t->cmd->code) {
cmd               195 src/struct.c               ptr = t->cmd->ptr;
cmd               211 src/struct.c           if(code == t->cmd->code) {
cmd               212 src/struct.c               type = t->cmd->type;
cmd               225 src/struct.c       char *cmd = NULL;
cmd               228 src/struct.c           if(code == t->cmd->code) {
cmd               229 src/struct.c               cmd = t->cmd->name;
cmd               233 src/struct.c       return cmd;
cmd               148 src/token.c        cmdl->cmd = strndup_chk(p, i, "cmdl.cmd");
cmd                11 test/unit/getcmdcode/cmd.c         char *cmd;
cmd                32 test/unit/getcmdcode/cmd.c         code = getcmdcode(cmdcodelist[i].cmd, cmdcodelist[i].type);
cmd                33 test/unit/getcmdcode/cmd.c         printf("%s:0%02o ---> #%04X\n", cmdcodelist[i].cmd, cmdcodelist[i].type, code);
cmd                35 test/unit/linetok/cmd.c             if(testcl->cmd != NULL){
cmd                36 test/unit/linetok/cmd.c                 printf("cl->cmd: %s\n", testcl->cmd);