bfd
[deliverable/binutils-gdb.git] / gas / testsuite / gas / rx / macros.inc
1 macro reg {r0;r15}
2 macro reg2 {r0;r14}
3 macro reg7 {r0;r7}
4 macro regPlo {r1;r7}
5 macro regPhi {r8;r14}
6 macro creg {psw;fpsw;usp;isp;intb;bpsw;bpc;fintv;cpen}
7 macro pswf {U;I;O;S;Z;C}
8
9 macro simm8 {-128;127}
10 macro simm16 {-32768;32768}
11 macro simm24 {-8388608;8388607}
12 macro simm32 {-2147483648;2147483647}
13
14 macro imm {{simm8};{simm16};{simm24};{simm32}}
15
16 macro uimm2 {0;3}
17 macro uimm3 {0;7}
18 macro uimm4 {0;15}
19 macro uimm5 {0;31}
20 macro uimm8 {0;255}
21 macro uimm16 {0;65535}
22 macro uimm24 {0;16777215}
23 macro uimm32 {0;4294967295}
24
25 macro imm32 {-2147483648;4294967295}
26
27 macro dsp5 {4;28}
28 macro dsp8 252
29 macro dsp16 65532
30 macro dsp8L 1020
31 macro dsp16L 262140
32
33 macro dsp {;{dsp8};{dsp16}}
34 macro dspL {;{dsp8L};{dsp16L}}
35
36 macro memex {.ub;.b;.uw;.w;.l}
37 macro memx {dsp}[{reg}]{memex}
38 macro mem {dsp}[{reg}]
39 macro bwl {.b;.w;.l}
40 macro bw {.b;.w}
41
42 macro cnd {geu;c;eq;z;gtu;pz;ge;gt;o;ltu;nc;ne;nz;leu;n;lt;le;no}
43 macro lab_s {.+3;.+10;foo}
44 macro lab_b {.-128;.+127;foo}
45 macro lab_w {.-32768;.+32767;foo}
46 macro lab_a {.-8388608;.+8388607;foo}
47 macro lab_l {.-2147483648;.+2147483647;foo}
48
49 .text
This page took 0.031948 seconds and 5 git commands to generate.