📄 decode.c
字号:
{ case 0 : itype = I960BASE_INSN_REMI3; goto extract_sfmt_mulo3; case 6 : itype = I960BASE_INSN_DIVI3; goto extract_sfmt_mulo3; default : itype = I960BASE_INSN_X_INVALID; goto extract_sfmt_empty; } } default : itype = I960BASE_INSN_X_INVALID; goto extract_sfmt_empty; } } case 128 : { unsigned int val = (((insn >> 10) & (15 << 0))); switch (val) { case 0 : /* fall through */ case 1 : /* fall through */ case 2 : /* fall through */ case 3 : itype = I960BASE_INSN_LDOB_OFFSET; goto extract_sfmt_ld_offset; case 4 : itype = I960BASE_INSN_LDOB_INDIRECT; goto extract_sfmt_ld_indirect; case 7 : itype = I960BASE_INSN_LDOB_INDIRECT_INDEX; goto extract_sfmt_ld_indirect_index; case 8 : /* fall through */ case 9 : /* fall through */ case 10 : /* fall through */ case 11 : itype = I960BASE_INSN_LDOB_INDIRECT_OFFSET; goto extract_sfmt_ld_indirect_offset; case 12 : itype = I960BASE_INSN_LDOB_DISP; goto extract_sfmt_ld_disp; case 13 : itype = I960BASE_INSN_LDOB_INDIRECT_DISP; goto extract_sfmt_ld_indirect_disp; case 14 : itype = I960BASE_INSN_LDOB_INDEX_DISP; goto extract_sfmt_ld_index_disp; case 15 : itype = I960BASE_INSN_LDOB_INDIRECT_INDEX_DISP; goto extract_sfmt_ld_indirect_index_disp; default : itype = I960BASE_INSN_X_INVALID; goto extract_sfmt_empty; } } case 130 : { unsigned int val = (((insn >> 10) & (15 << 0))); switch (val) { case 0 : /* fall through */ case 1 : /* fall through */ case 2 : /* fall through */ case 3 : itype = I960BASE_INSN_STOB_OFFSET; goto extract_sfmt_st_offset; case 4 : itype = I960BASE_INSN_STOB_INDIRECT; goto extract_sfmt_st_indirect; case 7 : itype = I960BASE_INSN_STOB_INDIRECT_INDEX; goto extract_sfmt_st_indirect_index; case 8 : /* fall through */ case 9 : /* fall through */ case 10 : /* fall through */ case 11 : itype = I960BASE_INSN_STOB_INDIRECT_OFFSET; goto extract_sfmt_st_indirect_offset; case 12 : itype = I960BASE_INSN_STOB_DISP; goto extract_sfmt_st_disp; case 13 : itype = I960BASE_INSN_STOB_INDIRECT_DISP; goto extract_sfmt_st_indirect_disp; case 14 : itype = I960BASE_INSN_STOB_INDEX_DISP; goto extract_sfmt_st_index_disp; case 15 : itype = I960BASE_INSN_STOB_INDIRECT_INDEX_DISP; goto extract_sfmt_st_indirect_index_disp; default : itype = I960BASE_INSN_X_INVALID; goto extract_sfmt_empty; } } case 132 : { unsigned int val = (((insn >> 10) & (15 << 0))); switch (val) { case 4 : itype = I960BASE_INSN_BX_INDIRECT; goto extract_sfmt_bx_indirect; case 7 : itype = I960BASE_INSN_BX_INDIRECT_INDEX; goto extract_sfmt_bx_indirect_index; case 8 : /* fall through */ case 9 : /* fall through */ case 10 : /* fall through */ case 11 : itype = I960BASE_INSN_BX_INDIRECT_OFFSET; goto extract_sfmt_bx_indirect_offset; case 12 : itype = I960BASE_INSN_BX_DISP; goto extract_sfmt_bx_disp; case 13 : itype = I960BASE_INSN_BX_INDIRECT_DISP; goto extract_sfmt_bx_indirect_disp; default : itype = I960BASE_INSN_X_INVALID; goto extract_sfmt_empty; } } case 134 : { unsigned int val = (((insn >> 10) & (15 << 0))); switch (val) { case 4 : itype = I960BASE_INSN_CALLX_INDIRECT; goto extract_sfmt_callx_indirect; case 8 : /* fall through */ case 9 : /* fall through */ case 10 : /* fall through */ case 11 : itype = I960BASE_INSN_CALLX_INDIRECT_OFFSET; goto extract_sfmt_callx_indirect_offset; case 12 : itype = I960BASE_INSN_CALLX_DISP; goto extract_sfmt_callx_disp; default : itype = I960BASE_INSN_X_INVALID; goto extract_sfmt_empty; } } case 136 : { unsigned int val = (((insn >> 10) & (15 << 0))); switch (val) { case 0 : /* fall through */ case 1 : /* fall through */ case 2 : /* fall through */ case 3 : itype = I960BASE_INSN_LDOS_OFFSET; goto extract_sfmt_ld_offset; case 4 : itype = I960BASE_INSN_LDOS_INDIRECT; goto extract_sfmt_ld_indirect; case 7 : itype = I960BASE_INSN_LDOS_INDIRECT_INDEX; goto extract_sfmt_ld_indirect_index; case 8 : /* fall through */ case 9 : /* fall through */ case 10 : /* fall through */ case 11 : itype = I960BASE_INSN_LDOS_INDIRECT_OFFSET; goto extract_sfmt_ld_indirect_offset; case 12 : itype = I960BASE_INSN_LDOS_DISP; goto extract_sfmt_ld_disp; case 13 : itype = I960BASE_INSN_LDOS_INDIRECT_DISP; goto extract_sfmt_ld_indirect_disp; case 14 : itype = I960BASE_INSN_LDOS_INDEX_DISP; goto extract_sfmt_ld_index_disp; case 15 : itype = I960BASE_INSN_LDOS_INDIRECT_INDEX_DISP; goto extract_sfmt_ld_indirect_index_disp; default : itype = I960BASE_INSN_X_INVALID; goto extract_sfmt_empty; } } case 138 : { unsigned int val = (((insn >> 10) & (15 << 0))); switch (val) { case 0 : /* fall through */ case 1 : /* fall through */ case 2 : /* fall through */ case 3 : itype = I960BASE_INSN_STOS_OFFSET; goto extract_sfmt_st_offset; case 4 : itype = I960BASE_INSN_STOS_INDIRECT; goto extract_sfmt_st_indirect; case 7 : itype = I960BASE_INSN_STOS_INDIRECT_INDEX; goto extract_sfmt_st_indirect_index; case 8 : /* fall through */ case 9 : /* fall through */ case 10 : /* fall through */ case 11 : itype = I960BASE_INSN_STOS_INDIRECT_OFFSET; goto extract_sfmt_st_indirect_offset; case 12 : itype = I960BASE_INSN_STOS_DISP; goto extract_sfmt_st_disp; case 13 : itype = I960BASE_INSN_STOS_INDIRECT_DISP; goto extract_sfmt_st_indirect_disp; case 14 : itype = I960BASE_INSN_STOS_INDEX_DISP; goto extract_sfmt_st_index_disp; case 15 : itype = I960BASE_INSN_STOS_INDIRECT_INDEX_DISP; goto extract_sfmt_st_indirect_index_disp; default : itype = I960BASE_INSN_X_INVALID; goto extract_sfmt_empty; } } case 140 : { unsigned int val = (((insn >> 10) & (15 << 0))); switch (val) { case 0 : /* fall through */ case 1 : /* fall through */ case 2 : /* fall through */ case 3 : itype = I960BASE_INSN_LDA_OFFSET; goto extract_sfmt_lda_offset; case 4 : itype = I960BASE_INSN_LDA_INDIRECT; goto extract_sfmt_lda_indirect; case 7 : itype = I960BASE_INSN_LDA_INDIRECT_INDEX; goto extract_sfmt_lda_indirect_index; case 8 : /* fall through */ case 9 : /* fall through */ case 10 : /* fall through */ case 11 : itype = I960BASE_INSN_LDA_INDIRECT_OFFSET; goto extract_sfmt_lda_indirect_offset; case 12 : itype = I960BASE_INSN_LDA_DISP; goto extract_sfmt_lda_disp; case 13 : itype = I960BASE_INSN_LDA_INDIRECT_DISP; goto extract_sfmt_lda_indirect_disp; case 14 : itype = I960BASE_INSN_LDA_INDEX_DISP; goto extract_sfmt_lda_index_disp; case 15 : itype = I960BASE_INSN_LDA_INDIRECT_INDEX_DISP; goto extract_sfmt_lda_indirect_index_disp; default : itype = I960BASE_INSN_X_INVALID; goto extract_sfmt_empty; } } case 144 : { unsigned int val = (((insn >> 10) & (15 << 0))); switch (val) { case 0 : /* fall through */ case 1 : /* fall through */ case 2 : /* fall through */ case 3 : itype = I960BASE_INSN_LD_OFFSET; goto extract_sfmt_ld_offset; case 4 : itype = I960BASE_INSN_LD_INDIRECT; goto extract_sfmt_ld_indirect; case 7 : itype = I960BASE_INSN_LD_INDIRECT_INDEX; goto extract_sfmt_ld_indirect_index; case 8 : /* fall through */ case 9 : /* fall through */ case 10 : /* fall through */ case 11 : itype = I960BASE_INSN_LD_INDIRECT_OFFSET; goto extract_sfmt_ld_indirect_offset; case 12 : itype = I960BASE_INSN_LD_DISP; goto extract_sfmt_ld_disp; case 13 : itype = I960BASE_INSN_LD_INDIRECT_DISP; goto extract_sfmt_ld_indirect_disp; case 14 : itype = I960BASE_INSN_LD_INDEX_DISP; goto extract_sfmt_ld_index_disp; case 15 : itype = I960BASE_INSN_LD_INDIRECT_INDEX_DISP; goto extract_sfmt_ld_indirect_index_disp; default : itype = I960BASE_INSN_X_INVALID; goto extract_sfmt_empty; } } case 146 : { unsigned int val = (((insn >> 10) & (15 << 0))); switch (val) { case 0 : /* fall through */ case 1 : /* fall through */ case 2 : /* fall through */ case 3 : itype = I960BASE_INSN_ST_OFFSET; goto extract_sfmt_st_offset; case 4 : itype = I960BASE_INSN_ST_INDIRECT; goto extract_sfmt_st_indirect; case 7 : itype = I960BASE_INSN_ST_INDIRECT_INDEX; goto extract_sfmt_st_indirect_index; case 8 : /* fall through */ case 9 : /* fall through */ case 10 : /* fall through */ case 11 : itype = I960BASE_INSN_ST_INDIRECT_OFFSET; goto extract_sfmt_st_indirect_offset; case 12 : itype = I960BASE_INSN_ST_DISP; goto extract_sfmt_st_disp; case 13 : itype = I960BASE_INSN_ST_INDIRECT_DISP; goto extract_sfmt_st_indirect_disp; case 14 : itype = I960BASE_INSN_ST_INDEX_DISP; goto extract_sfmt_st_index_disp; case 15 : itype = I960BASE_INSN_ST_INDIRECT_INDEX_DISP; goto extract_sfmt_st_indirect_index_disp; default : itype = I960BASE_INSN_X_INVALID; goto extract_sfmt_empty; } } case 152 : { unsigned int val = (((insn >> 10) & (15 << 0))); switch (val) { case 0 : /* fall through */ case 1 : /* fall through */ case 2 : /* fall through */ case 3 : itype = I960BASE_INSN_LDL_OFFSET; goto extract_sfmt_ldl_offset; case 4 : itype = I960BASE_INSN_LDL_INDIRECT; goto extract_sfmt_ldl_indirect; case 7 : itype = I960BASE_INSN_LDL_INDIRECT_INDEX; goto extract_sfmt_ldl_indirect_index; case 8 : /* fall through */ case 9 : /* fall through */ case 10 : /* fall through */ case 11 : itype = I960BASE_INSN_LDL_INDIRECT_OFFSET; goto extract_sfmt_ldl_indirect_offset; case 12 : itype = I960BASE_INSN_LDL_DISP; goto extract_sfmt_ldl_disp; case 13 : itype = I960BASE_INSN_LDL_INDIRECT_DISP; goto extract_sfmt_ldl_indirect_disp; case 14 : itype = I960BASE_INSN_LDL_INDEX_DISP; goto extract_sfmt_ldl_index_disp; case 15 : itype = I960BASE_INSN_LDL_INDIRECT_INDEX_DISP; goto extract_sfmt_ldl_indirect_index_disp; default : itype = I960BASE_INSN_X_INVALID; goto extract_sfmt_empty; } } case 154 : { unsigned int val = (((insn >> 10) & (15 << 0))); switch (val) { case 0 : /* fall through */ case 1 : /* fall through */ case 2 : /* fall through */ case 3 : itype = I960BASE_INSN_STL_OFFSET; goto extract_sfmt_stl_offset; case 4 : itype = I960BASE_INSN_STL_INDIRECT; goto extract_sfmt_stl_indirect; case 7 : itype = I960BASE_INSN_STL_INDIRECT_INDEX; goto extract_sfmt_stl_indirect_index; case 8 : /* fall through */ case 9 : /* fall through */ case 10 : /* fall through */ case 11 : itype = I960BASE_INSN_STL_INDIRECT_OFFSET; goto extract_sfmt_stl_indirect_offset; case 12 : itype = I960BASE_INSN_STL_DISP; goto extract_sfmt_stl_disp; case 13 : itype = I960BASE_INSN_STL_INDIRECT_DISP; goto extract_sfmt_stl_indirect_disp; case 14 : itype = I960BASE_INSN_STL_INDEX_DISP; goto extract_sfmt_stl_index_disp; case 15 : itype = I960BASE_INSN_STL_INDIRECT_INDEX_DISP; goto extract_sfmt_stl_indirect_index_disp; default : itype = I960BASE_INSN_X_INVALID; goto extract_sfmt_empty; } } case 160 : { unsigned int val = (((insn >> 10) & (15 << 0))); switch (val) { case 0 : /* fall through */ case 1 : /* fall through */ case 2 : /* fall through */ case 3 : itype = I960BASE_INSN_LDT_OFFSET; goto extract_sfmt_ldt_offset; case 4 : itype = I960BASE_INSN_LDT_INDIRECT; goto extract_sfmt_ldt_indirect; case 7 : itype = I960BASE_INSN_LDT_INDIRECT_INDEX; goto extract
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -