Lines Matching refs:bit
132 set_bit (RL78_Opcode_Operand *op, int bit)
134 op->bit_number = bit;
831 /** 0011 0001 0bit 0000 btclr %s1, $%a0 */
833 int bit AU = (op[1] >> 4) & 0x07;
837 "/** 0011 0001 0bit 0000 btclr %s1, $%a0 */",
839 printf (" bit = 0x%x\n", bit);
843 ID(branch_cond_clear); SM(None, SADDR); SB(bit); DC(pc+IMMS(1)+4); COND(T);
851 /** 0011 0001 0bit 0001 btclr %1, $%a0 */
853 int bit AU = (op[1] >> 4) & 0x07;
857 "/** 0011 0001 0bit 0001 btclr %1, $%a0 */",
859 printf (" bit = 0x%x\n", bit);
863 ID(branch_cond_clear); DC(pc+IMMS(1)+3); SR(A); SB(bit); COND(T);
869 /** 0011 0001 0bit 0010 bt %s1, $%a0 */
871 int bit AU = (op[1] >> 4) & 0x07;
875 "/** 0011 0001 0bit 0010 bt %s1, $%a0 */",
877 printf (" bit = 0x%x\n", bit);
881 ID(branch_cond); SM(None, SADDR); SB(bit); DC(pc+IMMS(1)+4); COND(T);
889 /** 0011 0001 0bit 0011 bt %1, $%a0 */
891 int bit AU = (op[1] >> 4) & 0x07;
895 "/** 0011 0001 0bit 0011 bt %1, $%a0 */",
897 printf (" bit = 0x%x\n", bit);
901 ID(branch_cond); DC(pc+IMMS(1)+3); SR(A); SB(bit); COND(T);
907 /** 0011 0001 0bit 0100 bf %s1, $%a0 */
909 int bit AU = (op[1] >> 4) & 0x07;
913 "/** 0011 0001 0bit 0100 bf %s1, $%a0 */",
915 printf (" bit = 0x%x\n", bit);
919 ID(branch_cond); SM(None, SADDR); SB(bit); DC(pc+IMMS(1)+4); COND(F);
927 /** 0011 0001 0bit 0101 bf %1, $%a0 */
929 int bit AU = (op[1] >> 4) & 0x07;
933 "/** 0011 0001 0bit 0101 bf %1, $%a0 */",
935 printf (" bit = 0x%x\n", bit);
939 ID(branch_cond); DC(pc+IMMS(1)+3); SR(A); SB(bit); COND(F);
1117 /** 0011 0001 1bit 0000 btclr %s1, $%a0 */
1119 int bit AU = (op[1] >> 4) & 0x07;
1123 "/** 0011 0001 1bit 0000 btclr %s1, $%a0 */",
1125 printf (" bit = 0x%x\n", bit);
1129 ID(branch_cond_clear); SM(None, SFR); SB(bit); DC(pc+IMMS(1)+4); COND(T);
1135 /** 0011 0001 1bit 0001 btclr %e1, $%a0 */
1137 int bit AU = (op[1] >> 4) & 0x07;
1141 "/** 0011 0001 1bit 0001 btclr %e1, $%a0 */",
1143 printf (" bit = 0x%x\n", bit);
1147 ID(branch_cond_clear); DC(pc+IMMS(1)+3); SM(HL,0); SB(bit); COND(T);
1153 /** 0011 0001 1bit 0010 bt %s1, $%a0 */
1155 int bit AU = (op[1] >> 4) & 0x07;
1159 "/** 0011 0001 1bit 0010 bt %s1, $%a0 */",
1161 printf (" bit = 0x%x\n", bit);
1165 ID(branch_cond); SM(None, SFR); SB(bit); DC(pc+IMMS(1)+4); COND(T);
1171 /** 0011 0001 1bit 0011 bt %e1, $%a0 */
1173 int bit AU = (op[1] >> 4) & 0x07;
1177 "/** 0011 0001 1bit 0011 bt %e1, $%a0 */",
1179 printf (" bit = 0x%x\n", bit);
1183 ID(branch_cond); DC(pc+IMMS(1)+3); SM(HL,0); SB(bit); COND(T);
1189 /** 0011 0001 1bit 0100 bf %s1, $%a0 */
1191 int bit AU = (op[1] >> 4) & 0x07;
1195 "/** 0011 0001 1bit 0100 bf %s1, $%a0 */",
1197 printf (" bit = 0x%x\n", bit);
1201 ID(branch_cond); SM(None, SFR); SB(bit); DC(pc+IMMS(1)+4); COND(F);
1207 /** 0011 0001 1bit 0101 bf %e1, $%a0 */
1209 int bit AU = (op[1] >> 4) & 0x07;
1213 "/** 0011 0001 1bit 0101 bf %e1, $%a0 */",
1215 printf (" bit = 0x%x\n", bit);
1219 ID(branch_cond); DC(pc+IMMS(1)+3); SM(HL,0); SB(bit); COND(F);
3372 /** 0111 0001 0bit 0000 set1 %e!0 */
3374 int bit AU = (op[1] >> 4) & 0x07;
3378 "/** 0111 0001 0bit 0000 set1 %e!0 */",
3380 printf (" bit = 0x%x\n", bit);
3384 ID(mov); DM(None, IMMU(2)); DB(bit); SC(1);
3397 /** 0111 0001 0bit 0001 mov1 %0, cy */
3399 int bit AU = (op[1] >> 4) & 0x07;
3403 "/** 0111 0001 0bit 0001 mov1 %0, cy */",
3405 printf (" bit = 0x%x\n", bit);
3409 ID(mov); DM(None, SADDR); DB(bit); SCY();
3422 /** 0111 0001 0bit 0010 set1 %0 */
3424 int bit AU = (op[1] >> 4) & 0x07;
3428 "/** 0111 0001 0bit 0010 set1 %0 */",
3430 printf (" bit = 0x%x\n", bit);
3434 ID(mov); DM(None, SADDR); DB(bit); SC(1);
3449 /** 0111 0001 0bit 0011 clr1 %0 */
3451 int bit AU = (op[1] >> 4) & 0x07;
3455 "/** 0111 0001 0bit 0011 clr1 %0 */",
3457 printf (" bit = 0x%x\n", bit);
3461 ID(mov); DM(None, SADDR); DB(bit); SC(0);
3476 /** 0111 0001 0bit 0100 mov1 cy, %1 */
3478 int bit AU = (op[1] >> 4) & 0x07;
3482 "/** 0111 0001 0bit 0100 mov1 cy, %1 */",
3484 printf (" bit = 0x%x\n", bit);
3488 ID(mov); DCY(); SM(None, SADDR); SB(bit);
3501 /** 0111 0001 0bit 0101 and1 cy, %s1 */
3503 int bit AU = (op[1] >> 4) & 0x07;
3507 "/** 0111 0001 0bit 0101 and1 cy, %s1 */",
3509 printf (" bit = 0x%x\n", bit);
3513 ID(and); DCY(); SM(None, SADDR); SB(bit);
3531 /** 0111 0001 0bit 0110 or1 cy, %s1 */
3533 int bit AU = (op[1] >> 4) & 0x07;
3537 "/** 0111 0001 0bit 0110 or1 cy, %s1 */",
3539 printf (" bit = 0x%x\n", bit);
3543 ID(or); DCY(); SM(None, SADDR); SB(bit);
3558 /** 0111 0001 0bit 0111 xor1 cy, %s1 */
3560 int bit AU = (op[1] >> 4) & 0x07;
3564 "/** 0111 0001 0bit 0111 xor1 cy, %s1 */",
3566 printf (" bit = 0x%x\n", bit);
3570 ID(xor); DCY(); SM(None, SADDR); SB(bit);
3585 /** 0111 0001 0bit 1000 clr1 %e!0 */
3587 int bit AU = (op[1] >> 4) & 0x07;
3591 "/** 0111 0001 0bit 1000 clr1 %e!0 */",
3593 printf (" bit = 0x%x\n", bit);
3597 ID(mov); DM(None, IMMU(2)); DB(bit); SC(0);
3610 /** 0111 0001 0bit 1001 mov1 %s0, cy */
3612 int bit AU = (op[1] >> 4) & 0x07;
3616 "/** 0111 0001 0bit 1001 mov1 %s0, cy */",
3618 printf (" bit = 0x%x\n", bit);
3622 ID(mov); DM(None, SFR); DB(bit); SCY();
3637 /** 0111 0001 0bit 1010 set1 %s0 */
3639 int bit AU = (op[1] >> 4) & 0x07;
3643 "/** 0111 0001 0bit 1010 set1 %s0 */",
3645 printf (" bit = 0x%x\n", bit);
3650 ID(mov); DM(None, op0); DB(bit); SC(1);
3651 if (op0 == RL78_SFR_PSW && bit == 7)
3665 /** 0111 0001 0bit 1011 clr1 %s0 */
3667 int bit AU = (op[1] >> 4) & 0x07;
3671 "/** 0111 0001 0bit 1011 clr1 %s0 */",
3673 printf (" bit = 0x%x\n", bit);
3678 ID(mov); DM(None, op0); DB(bit); SC(0);
3679 if (op0 == RL78_SFR_PSW && bit == 7)
3693 /** 0111 0001 0bit 1100 mov1 cy, %s1 */
3695 int bit AU = (op[1] >> 4) & 0x07;
3699 "/** 0111 0001 0bit 1100 mov1 cy, %s1 */",
3701 printf (" bit = 0x%x\n", bit);
3705 ID(mov); DCY(); SM(None, SFR); SB(bit);
3718 /** 0111 0001 0bit 1101 and1 cy, %s1 */
3720 int bit AU = (op[1] >> 4) & 0x07;
3724 "/** 0111 0001 0bit 1101 and1 cy, %s1 */",
3726 printf (" bit = 0x%x\n", bit);
3730 ID(and); DCY(); SM(None, SFR); SB(bit);
3743 /** 0111 0001 0bit 1110 or1 cy, %s1 */
3745 int bit AU = (op[1] >> 4) & 0x07;
3749 "/** 0111 0001 0bit 1110 or1 cy, %s1 */",
3751 printf (" bit = 0x%x\n", bit);
3755 ID(or); DCY(); SM(None, SFR); SB(bit);
3768 /** 0111 0001 0bit 1111 xor1 cy, %s1 */
3770 int bit AU = (op[1] >> 4) & 0x07;
3774 "/** 0111 0001 0bit 1111 xor1 cy, %s1 */",
3776 printf (" bit = 0x%x\n", bit);
3780 ID(xor); DCY(); SM(None, SFR); SB(bit);
3808 /** 0111 0001 1bit 0001 mov1 %e0, cy */
3810 int bit AU = (op[1] >> 4) & 0x07;
3814 "/** 0111 0001 1bit 0001 mov1 %e0, cy */",
3816 printf (" bit = 0x%x\n", bit);
3820 ID(mov); DM(HL, 0); DB(bit); SCY();
3833 /** 0111 0001 1bit 0010 set1 %e0 */
3835 int bit AU = (op[1] >> 4) & 0x07;
3839 "/** 0111 0001 1bit 0010 set1 %e0 */",
3841 printf (" bit = 0x%x\n", bit);
3845 ID(mov); DM(HL, 0); DB(bit); SC(1);
3858 /** 0111 0001 1bit 0011 clr1 %e0 */
3860 int bit AU = (op[1] >> 4) & 0x07;
3864 "/** 0111 0001 1bit 0011 clr1 %e0 */",
3866 printf (" bit = 0x%x\n", bit);
3870 ID(mov); DM(HL, 0); DB(bit); SC(0);
3883 /** 0111 0001 1bit 0100 mov1 cy, %e1 */
3885 int bit AU = (op[1] >> 4) & 0x07;
3889 "/** 0111 0001 1bit 0100 mov1 cy, %e1 */",
3891 printf (" bit = 0x%x\n", bit);
3895 ID(mov); DCY(); SM(HL, 0); SB(bit);
3908 /** 0111 0001 1bit 0101 and1 cy, %e1 */
3910 int bit AU = (op[1] >> 4) & 0x07;
3914 "/** 0111 0001 1bit 0101 and1 cy, %e1 */",
3916 printf (" bit = 0x%x\n", bit);
3920 ID(and); DCY(); SM(HL, 0); SB(bit);
3933 /** 0111 0001 1bit 0110 or1 cy, %e1 */
3935 int bit AU = (op[1] >> 4) & 0x07;
3939 "/** 0111 0001 1bit 0110 or1 cy, %e1 */",
3941 printf (" bit = 0x%x\n", bit);
3945 ID(or); DCY(); SM(HL, 0); SB(bit);
3958 /** 0111 0001 1bit 0111 xor1 cy, %e1 */
3960 int bit AU = (op[1] >> 4) & 0x07;
3964 "/** 0111 0001 1bit 0111 xor1 cy, %e1 */",
3966 printf (" bit = 0x%x\n", bit);
3970 ID(xor); DCY(); SM(HL, 0); SB(bit);
3998 /** 0111 0001 1bit 1001 mov1 %e0, cy */
4000 int bit AU = (op[1] >> 4) & 0x07;
4004 "/** 0111 0001 1bit 1001 mov1 %e0, cy */",
4006 printf (" bit = 0x%x\n", bit);
4010 ID(mov); DR(A); DB(bit); SCY();
4023 /** 0111 0001 1bit 1010 set1 %0 */
4025 int bit AU = (op[1] >> 4) & 0x07;
4029 "/** 0111 0001 1bit 1010 set1 %0 */",
4031 printf (" bit = 0x%x\n", bit);
4035 ID(mov); DR(A); DB(bit); SC(1);
4048 /** 0111 0001 1bit 1011 clr1 %0 */
4050 int bit AU = (op[1] >> 4) & 0x07;
4054 "/** 0111 0001 1bit 1011 clr1 %0 */",
4056 printf (" bit = 0x%x\n", bit);
4060 ID(mov); DR(A); DB(bit); SC(0);
4073 /** 0111 0001 1bit 1100 mov1 cy, %e1 */
4075 int bit AU = (op[1] >> 4) & 0x07;
4079 "/** 0111 0001 1bit 1100 mov1 cy, %e1 */",
4081 printf (" bit = 0x%x\n", bit);
4085 ID(mov); DCY(); SR(A); SB(bit);
4098 /** 0111 0001 1bit 1101 and1 cy, %1 */
4100 int bit AU = (op[1] >> 4) & 0x07;
4104 "/** 0111 0001 1bit 1101 and1 cy, %1 */",
4106 printf (" bit = 0x%x\n", bit);
4110 ID(and); DCY(); SR(A); SB(bit);
4123 /** 0111 0001 1bit 1110 or1 cy, %1 */
4125 int bit AU = (op[1] >> 4) & 0x07;
4129 "/** 0111 0001 1bit 1110 or1 cy, %1 */",
4131 printf (" bit = 0x%x\n", bit);
4135 ID(or); DCY(); SR(A); SB(bit);
4148 /** 0111 0001 1bit 1111 xor1 cy, %1 */
4150 int bit AU = (op[1] >> 4) & 0x07;
4154 "/** 0111 0001 1bit 1111 xor1 cy, %1 */",
4156 printf (" bit = 0x%x\n", bit);
4160 ID(xor); DCY(); SR(A); SB(bit);