|
| LPARENTHESIS = Literal("(") |
|
| RPARENTHESIS = Literal(")") |
|
| PLUSSIGN = Literal("+") |
|
| HEX_INTEGER = str_int_pos | str_int_neg |
|
| deref_reg_parser = Group(LPARENTHESIS + gpr_infos.parser + RPARENTHESIS).setParseAction(deref2expr) |
|
| deref_inc_reg_parser = Group(LPARENTHESIS + gpr_infos.parser + PLUSSIGN + RPARENTHESIS).setParseAction(deref2expr) |
|
| abs24_deref_parser = Group(LPARENTHESIS + HEX_INTEGER + RPARENTHESIS).setParseAction(deref2expr) |
|
| offset_deref_reg_parser = Group(HEX_INTEGER + LPARENTHESIS + gpr_infos.parser + RPARENTHESIS).setParseAction(deref2expr) |
|
| reg04 |
|
| reg04_l = bs(l=4, cls=(mep_reg, )) |
|
| reg04_m = bs(l=4, cls=(mep_reg, )) |
|
| reg04_n = bs(l=4, cls=(mep_reg, )) |
|
| reg00 = bs(l=0, cls=(mep_reg, )) |
|
| reg00_sp = bs(l=0, cls=(mep_reg_sp, )) |
|
| reg00_tp = bs(l=0, cls=(mep_reg_tp, )) |
|
| reg00_deref_sp = bs(l=0, cls=(mep_deref_sp_offset, )) |
|
| reg00_deref_tp = bs(l=0, cls=(mep_deref_tp_offset, )) |
|
| reg03 = bs(l=3, cls=(mep_reg, )) |
|
| reg04_deref = bs(l=4, cls=(mep_deref_reg,)) |
|
| reg04_deref_noarg = bs(l=4, fname="reg04_deref") |
|
| reg04_inc_deref = bs(l=4, cls=(mep_deref_inc_reg,)) |
|
| copro_reg04 = bs(l=4, cls=(mep_copro_reg,)) |
|
| copro_reg05 = bs(l=1, cls=(mep_copro_reg_split,)) |
|
| copro_reg06 = bs(l=2, cls=(mep_copro_reg_split,)) |
|
| disp2 = bs(l=2, cls=(mep_imm, )) |
|
| imm2 = disp2 |
|
| imm3 = bs(l=3, cls=(mep_imm, )) |
|
| imm4 = bs(l=4, cls=(mep_imm, )) |
|
| imm4_noarg = bs(l=4, fname="imm4") |
|
| imm4_iiii_noarg = bs(l=4, fname="imm4_iiii") |
|
| imm5 = bs(l=5, cls=(mep_imm, )) |
|
| imm5_Iiiii = bs(l=1, cls=(mep_imm5_Iiiii, )) |
|
| imm6 = bs(l=6, cls=(mep_imm6, mep_arg)) |
|
| imm6_noarg = bs(l=6, fname="imm6") |
|
| imm7 = bs(l=7, cls=(mep_imm, )) |
|
| imm7_noarg = bs(l=7, fname="imm7") |
|
| imm7_align4 = bs(l=5, cls=(mep_imm7_align4,)) |
|
| imm7_align4_noarg = bs(l=5, fname="imm7_align4") |
|
| disp7_align2 = bs(l=6, cls=(mep_disp7_align2,)) |
|
| disp7_align2_noarg = bs(l=6, fname="disp7_align2") |
|
| imm8 = bs(l=8, cls=(mep_imm8, mep_arg)) |
|
| imm8_noarg = bs(l=8, fname="imm8_CCCC_CCCC") |
|
| disp8 = bs(l=7, cls=(mep_disp8_align2, )) |
|
| imm8_align2 = bs(l=7, cls=(mep_disp8_align2, )) |
|
| imm8_align4 = bs(l=6, cls=(mep_disp8_align4, )) |
|
| imm8_align8 = bs(l=5, cls=(mep_imm8_align8, )) |
|
| imm12 = bs(l=12, cls=(mep_imm, )) |
|
| disp12_signed = bs(l=11, cls=(mep_disp12_align2_signed, )) |
|
| imm16 = bs(l=16, cls=(mep_imm16, mep_arg)) |
|
| imm16_signed = bs(l=16, cls=(mep_imm16_signed, mep_arg)) |
|
| disp16_reg_deref = bs(l=16, cls=(mep_deref_reg_offset,)) |
|
| disp17 = bs(l=16, cls=(mep_disp17, )) |
|
| imm18 = bs(l=19, cls=(mep_imm, )) |
|
| imm_code20 = bs(l=16, cls=(mep_code20, )) |
|
| imm24 = bs(l=24, cls=(mep_imm24, )) |
|
| imm_target24 = bs(l=16, cls=(mep_target24, )) |
|
| imm_target24_signed = bs(l=16, cls=(mep_target24_signed, )) |
|
| imm_code24 = bs(l=16, cls=(mep_code24, )) |
|
| abs24 = bs(l=16, cls=(mep_abs24, )) |
|