WORD               35 include/assemble.h     WORD ptr;     /**<現在のアドレス */
WORD               36 include/assemble.h     WORD lptr;    /**<リテラル(=付きの値)のアドレス */
WORD               51 include/assemble.h     WORD adr;                   /**<アドレス */
WORD               92 include/assemble.h WORD getlabel(const char *prog, const char *label);
WORD              103 include/assemble.h bool addlabel(const char *prog, const char *label, WORD adr);
WORD              147 include/assemble.h bool assemble(int filec, char *filev[], WORD adr);
WORD               23 include/disassemble.h void disassemble_memory(WORD start, WORD end);
WORD              356 include/exec.h void dumpmemory(WORD start, WORD end);
WORD               17 include/load.h WORD loadassemble(const char *file, WORD start);
WORD               39 include/monitor.h     WORD adr;                   /**<アドレス */
WORD               66 include/monitor.h unsigned adrhash(WORD adr);
WORD              103 include/monitor.h bool getbps(WORD adr);
WORD              112 include/monitor.h bool addbps(WORD adr);
WORD              122 include/monitor.h bool delbps(WORD adr);
WORD               36 include/struct.h     WORD gr[GRSIZE]; /**<汎用レジスタ */
WORD               37 include/struct.h     WORD sp;         /**<スタックポインタ */
WORD               38 include/struct.h     WORD pr;         /**<プログラムレジスタ */
WORD               39 include/struct.h     WORD fr;         /**<フラグレジスタ */
WORD               47 include/struct.h     WORD *memory;    /**<メモリ */
WORD              115 include/struct.h     WORD code;                  /**<命令コード */
WORD              131 include/struct.h     WORD start;   /**<開始アドレス */
WORD              132 include/struct.h     WORD end;     /**<終了アドレス */
WORD              163 include/struct.h char *grstr(WORD word);
WORD              193 include/struct.h WORD getcmdcode(const char *cmd, CMDTYPE type);
WORD              198 include/struct.h const void (*getcmdptr(WORD code));
WORD              203 include/struct.h CMDTYPE getcmdtype(WORD code);
WORD              208 include/struct.h char *getcmdname(WORD code);
WORD               25 include/word.h WORD nh2word(const char *str);
WORD               34 include/word.h char *word2n(WORD word);
WORD               43 include/word.h char *word2bit(const WORD word);
WORD               53 include/word.h void print_dumpword(WORD word, bool logicalmode);
WORD               26 src/assemble.c WORD getadr(const char *prog, const char *str, PASS pass);
WORD               40 src/assemble.c WORD grword(const char *str, bool is_x);
WORD               50 src/assemble.c WORD getliteral(const char *str, PASS pass);
WORD               61 src/assemble.c void writememory(WORD word, WORD adr, PASS pass);
WORD              319 src/assemble.c WORD getadr(const char *prog, const char *str, PASS pass)
WORD              321 src/assemble.c     WORD adr = 0;
WORD              337 src/assemble.c WORD grword(const char *str, bool is_x)
WORD              339 src/assemble.c     WORD r = 0;
WORD              348 src/assemble.c     r = (WORD)(str[2] - '0');
WORD              357 src/assemble.c WORD getliteral(const char *str, PASS pass)
WORD              360 src/assemble.c     WORD adr = asptr->lptr;
WORD              371 src/assemble.c void writememory(WORD word, WORD adr, PASS pass)
WORD              415 src/assemble.c     WORD adr = 0;
WORD              583 src/assemble.c     WORD cmd = 0;
WORD              584 src/assemble.c     WORD r_r1 = 0;
WORD              585 src/assemble.c     WORD x_r2 = 0;
WORD              586 src/assemble.c     WORD adr = 0;
WORD              751 src/assemble.c bool assemble(int filec, char *filev[], WORD adr)
WORD              755 src/assemble.c     WORD bp[filec];
WORD              813 src/assemble.c     fwrite(sys->memory, sizeof(WORD), execptr->end, fp);
WORD               15 src/disassemble.c WORD fgetword(FILE *stream);
WORD               33 src/disassemble.c WORD zero_data_cnt(FILE *stream);
WORD               45 src/disassemble.c void disassemble_puts_code(int ascol, WORD pradr, int wordc, WORD wordv[]);
WORD               58 src/disassemble.c void disassemble_cmd_adr_x(CMDTYPE cmdtype, const char *cmdname, WORD word, WORD adr, WORD pradr);
WORD               70 src/disassemble.c void disassemble_cmd_r(CMDTYPE cmdtype, const char *cmdname, WORD word, WORD pradr);
WORD               80 src/disassemble.c void disassemble_dc(WORD word, WORD pradr);
WORD               82 src/disassemble.c void disassemble_puts_code(int ascol, WORD pradr, int wordc, WORD wordv[])
WORD               93 src/disassemble.c void disassemble_cmd_adr_x(CMDTYPE cmdtype, const char *cmdname, WORD word, WORD adr, WORD pradr)
WORD               95 src/disassemble.c     WORD x = 0;
WORD              109 src/disassemble.c     disassemble_puts_code(cnt, pradr, 2, (WORD []){word, adr});
WORD              112 src/disassemble.c void disassemble_cmd_r(CMDTYPE cmdtype, const char *cmdname, WORD word, WORD pradr)
WORD              131 src/disassemble.c     disassemble_puts_code(cnt, pradr, 1, (WORD []){word});
WORD              134 src/disassemble.c void disassemble_dc(WORD word, WORD pradr)
WORD              139 src/disassemble.c     disassemble_puts_code(cnt, pradr, 1, (WORD []){word});
WORD              144 src/disassemble.c void disassemble_ds(WORD wcnt, WORD pradr)
WORD              149 src/disassemble.c     disassemble_puts_code(cnt, pradr, 1, (WORD []){0});
WORD              152 src/disassemble.c         disassemble_puts_code(0, pradr+1, 1, (WORD []){0});
WORD              156 src/disassemble.c WORD fgetword(FILE *stream)
WORD              158 src/disassemble.c     WORD aword;
WORD              159 src/disassemble.c     fread(&aword, sizeof(WORD), 1, stream);
WORD              165 src/disassemble.c     fseek(stream, -sizeof(WORD), SEEK_CUR);
WORD              168 src/disassemble.c WORD zero_data_cnt(FILE *stream)
WORD              170 src/disassemble.c     WORD cnt = 0;
WORD              171 src/disassemble.c     WORD word = 0;
WORD              187 src/disassemble.c     WORD i = 0;
WORD              188 src/disassemble.c     WORD word = 0;
WORD              189 src/disassemble.c     WORD cmd = 0;
WORD              190 src/disassemble.c     WORD zcnt = 0;
WORD              238 src/disassemble.c void disassemble_memory(WORD start, WORD end)
WORD              240 src/disassemble.c     WORD cmd = 0;
WORD                4 src/dump.c     void dumpmemory(WORD start, WORD end)
WORD                6 src/dump.c         const WORD col = 0x10;
WORD                7 src/dump.c         WORD mod = 0;
WORD               28 src/dumpword.c     WORD word = 0;
WORD               10 src/exec.c     char *pr2str(WORD pr);
WORD               33 src/exec.c     void setfr(WORD adr);
WORD               42 src/exec.c     WORD get_r_r1(WORD oprx);
WORD               51 src/exec.c     WORD get_x_r2(WORD oprx);
WORD               61 src/exec.c     WORD get_adr_x(WORD adr, WORD oprx);
WORD               71 src/exec.c     WORD get_val_adr_x(WORD adr, WORD oprx);
WORD               93 src/exec.c     char *pr2str(WORD pr)
WORD              128 src/exec.c         WORD w;
WORD              149 src/exec.c     void setfr(WORD adr)
WORD              162 src/exec.c     WORD get_r_r1(WORD oprx)
WORD              164 src/exec.c         WORD r = 0;
WORD              175 src/exec.c     WORD get_x_r2(WORD oprx)
WORD              177 src/exec.c         WORD x = 0;
WORD              188 src/exec.c     WORD get_adr_x(WORD adr, WORD oprx)
WORD              190 src/exec.c         WORD a = adr;
WORD              191 src/exec.c         WORD x = get_x_r2(oprx);
WORD              199 src/exec.c     WORD get_val_adr_x(WORD adr, WORD oprx)
WORD              201 src/exec.c         WORD a = 0;
WORD              225 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              232 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr]};
WORD              239 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              246 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              251 src/exec.c     void adda(WORD r, WORD val)
WORD              262 src/exec.c         sys->cpu->gr[r] = (WORD)(tmp & 0xFFFF);
WORD              272 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              279 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr]};
WORD              286 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              293 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr]};
WORD              298 src/exec.c     void addl_gr(WORD r, WORD val, bool add)
WORD              320 src/exec.c         sys->cpu->gr[r] = (WORD)s;
WORD              332 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              339 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr]};
WORD              346 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              353 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr]};
WORD              360 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              367 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr]};
WORD              374 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              381 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr]};
WORD              388 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              395 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr]};
WORD              400 src/exec.c     void cpa(WORD r, WORD val)
WORD              412 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              419 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr]};
WORD              424 src/exec.c     void cpl(WORD r, WORD val)
WORD              436 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              443 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr]};
WORD              450 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              451 src/exec.c         WORD r = get_r_r1(w[0]);
WORD              452 src/exec.c         WORD sign = sys->cpu->gr[r] & 0x8000;
WORD              453 src/exec.c         WORD last = 0;
WORD              479 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              480 src/exec.c         WORD r = get_r_r1(w[0]);
WORD              481 src/exec.c         WORD sign = sys->cpu->gr[r] & 0x8000;
WORD              482 src/exec.c         WORD last = 0;
WORD              511 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              512 src/exec.c         WORD last = 0;
WORD              513 src/exec.c         WORD r = get_r_r1(w[0]);
WORD              537 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              538 src/exec.c         WORD last = 0;
WORD              539 src/exec.c         WORD r = get_r_r1(w[0]);
WORD              563 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              573 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              583 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              593 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              603 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              613 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              620 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              628 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr]};
WORD              643 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD              660 src/exec.c         WORD w[] = {sys->memory[sys->cpu->pr], sys->memory[sys->cpu->pr + 1]};
WORD               89 src/label.c    WORD getlabel(const char *prog, const char *label)
WORD              106 src/label.c    bool addlabel(const char *prog, const char *label, WORD adr)
WORD               27 src/load.c     WORD loadassemble(const char *file, WORD start)
WORD               30 src/load.c         WORD end = 0;
WORD               37 src/load.c         end = start + fread(sys->memory + start, sizeof(WORD), sys->memsize - start, fp);
WORD               13 src/monitor.c  unsigned adrhash(WORD adr)
WORD               25 src/monitor.c  bool getbps(WORD adr)
WORD               37 src/monitor.c  bool addbps(WORD adr)
WORD               57 src/monitor.c  bool delbps(WORD adr)
WORD              210 src/monitor.c      WORD w;
WORD              258 src/monitor.c      WORD dump_start = 0, dump_end = 0x40;
WORD               83 src/struct.c   unsigned hash_code(WORD code);
WORD              153 src/struct.c   WORD getcmdcode(const char *cmd, CMDTYPE type)
WORD              156 src/struct.c       WORD w = 0xFFFF;
WORD              171 src/struct.c   unsigned hash_code(WORD code)
WORD              188 src/struct.c   const void (*getcmdptr(WORD code))
WORD              205 src/struct.c   CMDTYPE getcmdtype(WORD code)
WORD              222 src/struct.c   char *getcmdname(WORD code)
WORD              240 src/struct.c   char *grstr(WORD word)
WORD              261 src/struct.c       sys->memory = calloc_chk(sys->memsize, sizeof(WORD), "memory");
WORD               17 src/word.c     WORD n2word(const char *str);
WORD               26 src/word.c     WORD h2word(const char *str);
WORD               28 src/word.c     WORD n2word(const char *str)
WORD               44 src/word.c         return (WORD)n;
WORD               47 src/word.c     WORD h2word(const char *str)
WORD               51 src/word.c         WORD w = 0;
WORD               59 src/word.c         w = (WORD)strtol(str, &check, 16);
WORD               82 src/word.c     WORD nh2word(const char *str)
WORD               84 src/word.c         WORD w;
WORD               86 src/word.c         assert(sizeof(WORD) * 8 == 16); /* WORD型のサイズが16ビットであることを確認 */
WORD              102 src/word.c     char *word2n(WORD word)
WORD              120 src/word.c     char *word2bit(const WORD word)
WORD              125 src/word.c         WORD mask = 0x8000;
WORD              137 src/word.c     void print_dumpword(WORD word, bool logicalmode)
WORD               12 test/system/comet2_err/err_204/create_a.c     const WORD w[] = {0x1010, 0x0005, 0x2810, 0x0006, 0x8100, 0x0003, 0x0001};
WORD               19 test/system/comet2_err/err_204/create_a.c     fwrite(w, sizeof(WORD), ARRAYSIZE(w), fp);
WORD               12 test/system/comet2_err/err_205/create_a.c     const WORD w[] = {0x1010, 0x0005, 0x22f0, 0x0006, 0x8100, 0x0003, 0x0001};
WORD               19 test/system/comet2_err/err_205/create_a.c     fwrite(w, sizeof(WORD), ARRAYSIZE(w), fp);
WORD               12 test/system/comet2_err/err_206/create_a.c     const WORD w[] = {0x1010, 0x0005, 0x220f, 0x0006, 0x8100, 0x0003, 0x0001};
WORD               19 test/system/comet2_err/err_206/create_a.c     fwrite(w, sizeof(WORD), ARRAYSIZE(w), fp);
WORD               12 test/system/comet2_smoke/direct/create_a.c     const WORD w[] = {0x1010, 0x0005, 0x2210, 0x0006, 0x8100, 0x0003, 0x0001};
WORD               19 test/system/comet2_smoke/direct/create_a.c     fwrite(w, sizeof(WORD), ARRAYSIZE(w), fp);
WORD                6 test/unit/bpshash/cmd.c     WORD w[10] ={0, 1, 2, 3, 10, 250, 251, 254, 0x8FFF, 65535};
WORD                9 test/unit/getcmdcode/cmd.c     WORD code;
WORD                5 test/unit/getgr/cmd.c WORD getgr(const char *str, bool is_x);
WORD               10 test/unit/getgr/cmd.c     WORD r;
WORD                8 test/unit/nh2word/cmd.c     WORD r;
WORD                3 test/unit/nh2word/test_h2word.h WORD h2word(const char *str);