]>
Commit | Line | Data |
---|---|---|
51409b9e RH |
1 | # A32 unconditional instructions |
2 | # | |
3 | # Copyright (c) 2019 Linaro, Ltd | |
4 | # | |
5 | # This library is free software; you can redistribute it and/or | |
6 | # modify it under the terms of the GNU Lesser General Public | |
7 | # License as published by the Free Software Foundation; either | |
8 | # version 2 of the License, or (at your option) any later version. | |
9 | # | |
10 | # This library is distributed in the hope that it will be useful, | |
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | # Lesser General Public License for more details. | |
14 | # | |
15 | # You should have received a copy of the GNU Lesser General Public | |
16 | # License along with this library; if not, see <http://www.gnu.org/licenses/>. | |
17 | ||
18 | # | |
19 | # This file is processed by scripts/decodetree.py | |
20 | # | |
21 | # All insns that have 0xf in insn[31:28] are decoded here. | |
22 | # All of those that have a COND field in insn[31:28] are in a32.decode | |
23 | # | |
360144f3 RH |
24 | |
25 | &i !extern imm | |
26 | ||
27 | # Branch with Link and Exchange | |
28 | ||
29 | %imm24h 0:s24 24:1 !function=times_2 | |
30 | ||
31 | BLX_i 1111 101 . ........................ &i imm=%imm24h | |
885782a7 RH |
32 | |
33 | # System Instructions | |
34 | ||
35 | &rfe rn w pu | |
36 | &srs mode w pu | |
37 | ||
38 | RFE 1111 100 pu:2 0 w:1 1 rn:4 0000 1010 0000 0000 &rfe | |
39 | SRS 1111 100 pu:2 1 w:1 0 1101 0000 0101 000 mode:5 &srs |