Lines Matching refs:Rd

199 (dnf f-Rd "general register destination" ()  12 4)
200 (dnop Rd "general register destination" () h-gr f-Rd)
434 ; Update the PSW for destination register Rd, set Rd to value.
435 (define-pmacro (set-psw Rd index value ws)
443 ; Update the PSW for destination register Rd.
460 (define-pmacro (set-psw-carry Rd index value carry ws)
472 (define-pmacro (set-psw-add Rd index a b c)
486 ; Set the PSW for a subtraction of a-b into Rd, but don't actually
488 (define-pmacro (set-psw-cmp Rd index a b)
502 (define-pmacro (set-psw-sub Rd index a b c)
517 (define-pmacro (set-psw-rotate17 Rd index src c rot)
527 (define-pmacro (set-psw-rrotate17 Rd index src c rot)
772 ("mov $Rd,$Rs")
773 (+ OP1_4 OP2_6 Rs Rd)
774 (set-psw Rd (index-of Rd) Rs 1)
813 ("mov $Rd,#$imm16")
814 (emit movwgrimm16 Rd imm16)
820 ("mov.w $Rd,#$imm16")
821 (+ OP1_3 OP2_1 OP3_3 Rd imm16)
822 (set-psw Rd (index-of Rd) imm16 1)
829 ("mov.b $Rd,RxL")
830 (+ OP1_3 OP2_0 OP3_C Rd)
831 (set-psw Rd (index-of Rd) (or (and Rd #xFF00) (and (reg HI h-gr Rpsw) #xFF)) 0)
838 ("mov.b $Rd,RxH")
839 (+ OP1_3 OP2_0 OP3_D Rd)
840 (set-psw Rd (index-of Rd) (or (and Rd #x00FF) (and (reg HI h-gr Rpsw) #xFF00)) 1)
1019 ("mask $Rd,$Rs")
1020 (+ OP1_3 OP2_3 Rs Rd)
1021 (set-psw Rd (index-of Rd) (or HI (and HI Rd (inv HI Rs)) (and (reg HI h-gr Rpsw) Rs)) 1)
1028 ("mask $Rd,#$imm16")
1029 (+ OP1_3 OP2_0 OP3_E Rd imm16)
1030 (set-psw Rd (index-of Rd) (or (and Rd (inv imm16)) (and (reg HI h-gr Rpsw) imm16)) 1)
1038 ("push $Rd")
1039 (+ OP1_0 OP2_0 OP3_8 Rd)
1041 (set (mem HI sp) Rd)
1049 ("pop $Rd")
1050 (+ OP1_0 OP2_0 OP3_9 Rd)
1053 (set Rd (mem HI sp)))
1061 ("swpn $Rd")
1062 (+ OP1_3 OP2_0 OP3_9 Rd)
1063 (set-psw Rd (index-of Rd) (or (or (and (sll Rd 4) #xF0)
1064 (and (srl Rd 4) #x0F))
1065 (and Rd #xFF00)) 0)
1072 ("swpb $Rd")
1073 (+ OP1_3 OP2_0 OP3_8 Rd)
1074 (set-psw Rd (index-of Rd) (or (sll Rd 8) (srl Rd 8)) 1)
1081 ("swpw $Rd,$Rs")
1082 (+ OP1_3 OP2_2 Rs Rd)
1085 (set Rs Rd)
1086 (set-psw Rd (index-of Rd) foo 1))
1094 ("and $Rd,$Rs")
1095 (+ OP1_4 OP2_0 Rs Rd)
1096 (set-psw Rd (index-of Rd) (and Rd Rs) 1)
1112 ("and $Rd,#$imm16")
1113 (+ OP1_3 OP2_1 OP3_0 Rd imm16)
1114 (set-psw Rd (index-of Rd) (and Rd imm16) 1)
1121 ("or $Rd,$Rs")
1122 (+ OP1_4 OP2_2 Rs Rd)
1123 (set-psw Rd (index-of Rd) (or Rd Rs) 1)
1139 ("or $Rd,#$imm16")
1140 (+ OP1_3 OP2_1 OP3_1 Rd imm16)
1141 (set-psw Rd (index-of Rd) (or Rd imm16) 1)
1148 ("xor $Rd,$Rs")
1149 (+ OP1_4 OP2_4 Rs Rd)
1150 (set-psw Rd (index-of Rd) (xor Rd Rs) 1)
1166 ("xor $Rd,#$imm16")
1167 (+ OP1_3 OP2_1 OP3_2 Rd imm16)
1168 (set-psw Rd (index-of Rd) (xor Rd imm16) 1)
1175 ("not $Rd")
1176 (+ OP1_3 OP2_0 OP3_B Rd)
1177 (set-psw Rd (index-of Rd) (inv Rd) 1)
1185 ("add $Rd,$Rs")
1186 (+ OP1_4 OP2_9 Rs Rd)
1187 (set-psw-add Rd (index-of Rd) Rd Rs 0)
1194 ("add $Rd,#$imm4")
1195 (+ OP1_5 OP2_1 imm4 Rd)
1196 (set-psw-add Rd (index-of Rd) Rd imm4 0)
1212 ("add $Rd,#$imm16")
1213 (+ OP1_3 OP2_1 OP3_4 Rd imm16)
1214 (set-psw-add Rd (index-of Rd) Rd imm16 0)
1221 ("adc $Rd,$Rs")
1222 (+ OP1_4 OP2_B Rs Rd)
1223 (set-psw-add Rd (index-of Rd) Rd Rs psw-cy)
1230 ("adc $Rd,#$imm4")
1231 (+ OP1_5 OP2_3 imm4 Rd)
1232 (set-psw-add Rd (index-of Rd) Rd imm4 psw-cy)
1248 ("adc $Rd,#$imm16")
1249 (+ OP1_3 OP2_1 OP3_5 Rd imm16)
1250 (set-psw-add Rd (index-of Rd) Rd imm16 psw-cy)
1257 ("sub $Rd,$Rs")
1258 (+ OP1_4 OP2_D Rs Rd)
1259 (set-psw-sub Rd (index-of Rd) Rd Rs 0)
1266 ("sub $Rd,#$imm4")
1267 (+ OP1_5 OP2_5 imm4 Rd)
1268 (set-psw-sub Rd (index-of Rd) Rd imm4 0)
1284 ("sub $Rd,#$imm16")
1285 (+ OP1_3 OP2_1 OP3_6 Rd imm16)
1286 (set-psw-sub Rd (index-of Rd) Rd imm16 0)
1293 ("sbc $Rd,$Rs")
1294 (+ OP1_4 OP2_F Rs Rd)
1295 (set-psw-sub Rd (index-of Rd) Rd Rs psw-cy)
1302 ("sbc $Rd,#$imm4")
1303 (+ OP1_5 OP2_7 imm4 Rd)
1304 (set-psw-sub Rd (index-of Rd) Rd imm4 psw-cy)
1320 ("sbc $Rd,#$imm16")
1321 (+ OP1_3 OP2_1 OP3_7 Rd imm16)
1322 (set-psw-sub Rd (index-of Rd) Rd imm16 psw-cy)
1329 ("inc $Rd")
1330 (emit incgrimm2 Rd (imm2 0))
1336 ("inc $Rd,#$imm2")
1337 (+ OP1_3 OP2_0 OP3A_0 imm2 Rd)
1338 (set-psw Rd (index-of Rd) (add Rd (add imm2 1)) 1)
1345 ("dec $Rd")
1346 (emit decgrimm2 Rd (imm2 0))
1352 ("dec $Rd,#$imm2")
1353 (+ OP1_3 OP2_0 OP3A_1 imm2 Rd)
1354 (set-psw Rd (index-of Rd) (sub Rd (add imm2 1)) 1)
1362 ("rrc $Rd,$Rs")
1363 (+ OP1_3 OP2_8 Rs Rd)
1364 (set-psw-rrotate17 Rd (index-of Rd) Rd psw-cy Rs)
1371 ("rrc $Rd,#$imm4")
1372 (+ OP1_3 OP2_9 imm4 Rd)
1373 (set-psw-rrotate17 Rd (index-of Rd) Rd psw-cy imm4)
1380 ("rlc $Rd,$Rs")
1381 (+ OP1_3 OP2_A Rs Rd)
1382 (set-psw-rotate17 Rd (index-of Rd) Rd psw-cy (and Rs #xF))
1389 ("rlc $Rd,#$imm4")
1390 (+ OP1_3 OP2_B imm4 Rd)
1391 (set-psw-rotate17 Rd (index-of Rd) Rd psw-cy imm4)
1398 ("shr $Rd,$Rs")
1399 (+ OP1_3 OP2_C Rs Rd)
1400 (set-psw-carry Rd (index-of Rd)
1401 (srl Rd (and Rs #xF))
1404 (srl Rd (sub (and Rs #xF) 1)))
1412 ("shr $Rd,#$imm4")
1413 (+ OP1_3 OP2_D imm4 Rd)
1414 (set-psw-carry Rd (index-of Rd)
1415 (srl Rd imm4)
1418 (srl Rd (sub imm4 1)))
1426 ("shl $Rd,$Rs")
1427 (+ OP1_3 OP2_E Rs Rd)
1428 (set-psw-carry Rd (index-of Rd)
1429 (sll Rd (and Rs #xF))
1432 (sll Rd (sub (and Rs #xF) 1)))
1440 ("shl $Rd,#$imm4")
1441 (+ OP1_3 OP2_F imm4 Rd)
1442 (set-psw-carry Rd (index-of Rd)
1443 (sll Rd imm4)
1446 (sll Rd (sub imm4 1)))
1454 ("asr $Rd,$Rs")
1455 (+ OP1_3 OP2_6 Rs Rd)
1456 (set-psw-carry Rd (index-of Rd)
1457 (sra HI Rd (and Rs #xF))
1460 (srl Rd (sub (and Rs #xF) 1)))
1468 ("asr $Rd,#$imm4")
1469 (+ OP1_3 OP2_7 imm4 Rd)
1470 (set-psw-carry Rd (index-of Rd)
1471 (sra HI Rd imm4)
1474 (srl Rd (sub imm4 1)))
1483 ("set1 $Rd,#$imm4")
1484 (+ OP1_0 OP2_9 imm4 Rd)
1485 (set-psw Rd (index-of Rd) (or Rd (sll 1 imm4)) 1)
1492 ("set1 $Rd,$Rs")
1493 (+ OP1_0 OP2_B Rs Rd)
1494 (set-psw Rd (index-of Rd) (or Rd (sll 1 (and Rs #xF))) 1)
1518 ("clr1 $Rd,#$imm4")
1519 (+ OP1_0 OP2_8 imm4 Rd)
1520 (set-psw Rd (index-of Rd) (and Rd (inv (sll 1 imm4))) 1)
1527 ("clr1 $Rd,$Rs")
1528 (+ OP1_0 OP2_A Rs Rd)
1529 (set-psw Rd (index-of Rd) (and Rd (inv (sll 1 (and Rs #xF)))) 1)
1555 ("cbw $Rd")
1556 (+ OP1_3 OP2_0 OP3_A Rd)
1557 (set-psw Rd (index-of Rd) (ext HI (trunc QI Rd)) 1)
1564 ("rev $Rd")
1565 (+ OP1_3 OP2_0 OP3_F Rd)
1566 (set-psw Rd (index-of Rd)
1567 (or (sll (and Rd #x0001) 15)
1568 (or (sll (and Rd #x0002) 13)
1569 (or (sll (and Rd #x0004) 11)
1570 (or (sll (and Rd #x0008) 9)
1571 (or (sll (and Rd #x0010) 7)
1572 (or (sll (and Rd #x0020) 5)
1573 (or (sll (and Rd #x0040) 3)
1574 (or (sll (and Rd #x0080) 1)
1575 (or (srl (and Rd #x0100) 1)
1576 (or (srl (and Rd #x0200) 3)
1577 (or (srl (and Rd #x0400) 5)
1578 (or (srl (and Rd #x0800) 7)
1579 (or (srl (and Rd #x1000) 9)
1580 (or (srl (and Rd #x2000) 11)
1581 (or (srl (and Rd #x4000) 13)
1582 (srl (and Rd #x8000) 15))))))))))))))))
1614 ("b$bcond5 $Rd,$Rs,$rel12")
1615 (+ OP1_0 OP2_D Rs Rd bcond5 rel12)
1617 (set-psw-cmp Rd (index-of Rd) Rd Rs)
1649 ("bn $Rd,#$imm4,$rel12")
1650 (+ OP1_0 OP2_4 imm4 Rd OP5_0 rel12)
1652 (set Rpsw (index-of Rd))
1653 (if (eq (and Rd (sll 1 imm4)) 0)
1661 ("bn $Rd,$Rs,$rel12")
1662 (+ OP1_0 OP2_6 Rs Rd OP5_0 rel12)
1664 (set Rpsw (index-of Rd))
1665 (if (eq (and Rd (sll 1 Rs)) 0)
1693 ("bp $Rd,#$imm4,$rel12")
1694 (+ OP1_0 OP2_5 imm4 Rd OP5_0 rel12)
1696 (set Rpsw (index-of Rd))
1697 (if (ne (and Rd (sll 1 imm4)) 0)
1705 ("bp $Rd,$Rs,$rel12")
1706 (+ OP1_0 OP2_7 Rs Rd OP5_0 rel12)
1708 (set Rpsw (index-of Rd))
1709 (if (ne (and Rd (sll 1 Rs)) 0)
1748 ("br $Rd")
1749 (+ OP1_0 OP2_0 OP3_2 Rd)
1750 (set pc (add (add pc 2) Rd))
1766 ("jmp $Rbj,$Rd")
1767 (+ OP1_0 OP2_0 OP3B_4 Rbj Rd)
1768 (set pc (join SI HI Rbj Rd))
1791 ("callr $Rd")
1792 (+ OP1_0 OP2_0 OP3_1 Rd)
1793 (do-call (add Rd (add pc 2)) 2)
1809 ("call $Rbj,$Rd")
1810 (+ OP1_0 OP2_0 OP3B_A Rbj Rd)
1811 (do-call (join SI HI Rbj Rd) 2)
1834 ("icallr $Rd")
1835 (+ OP1_0 OP2_0 OP3_3 Rd)
1836 (do-calli (add Rd (add pc 2)) 2)
1843 ("icall $Rbj,$Rd")
1844 (+ OP1_0 OP2_0 OP3B_6 Rbj Rd)
1845 (do-calli (join SI HI Rbj Rd) 2)