OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [bfin/] [logical2.s] - Blame information for rev 156

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 132 jeremybenn
 
2
.EXTERN MY_LABEL2;
3
.section .text;
4
 
5
//
6
//7 LOGICAL OPERATIONS
7
//
8
 
9
//Dreg = Dreg & Dreg ; /* (a) */
10
 
11
R7 = R7 & R7;
12
R7 = R7 & R0;
13
r7 = R7 & R1;
14
 
15
R1 = R7 & R7;
16
R2 = R7 & R0;
17
r3 = R7 & R1;
18
 
19
//Dreg = ~ Dreg ; /* (a)*/
20
 
21
R7 = ~R7;
22
R7 = ~R0;
23
R0 = ~R7;
24
R0 = ~R2;
25
 
26
//Dreg = Dreg | Dreg ; /* (a) */
27
 
28
R7 = R7 | R7;
29
R7 = R7 | R1;
30
R7 = R7 | R0;
31
 
32
R1 = R7 | R7;
33
R2 = R7 | R1;
34
R3 = R7 | R0;
35
 
36
//Dreg = Dreg ^ Dreg ; /* (a) */
37
 
38
R7 = R7 ^ R7;
39
R7 = R7 ^ R1;
40
R7 = R7 ^ R0;
41
 
42
R1 = R7 ^ R7;
43
R2 = R7 ^ R1;
44
R3 = R7 ^ R0;
45
 
46
//Dreg_lo = CC = BXORSHIFT ( A0, Dreg ) ; /* (b) */
47
R0.L = CC = BXORSHIFT(A0, R0);
48
R0.L = CC = BXORSHIFT(A0, R1);
49
 
50
R3.L = CC = BXORSHIFT(A0, R0);
51
R3.L = CC = BXORSHIFT(A0, R1);
52
 
53
//Dreg_lo = CC = BXOR ( A0, Dreg ) ; /* (b) */
54
R0.L = CC = BXOR(A0, R0);
55
R0.L = CC = BXOR(A0, R1);
56
 
57
R3.L = CC = BXOR(A0, R0);
58
R3.L = CC = BXOR(A0, R1);
59
 
60
//Dreg_lo = CC = BXOR ( A0, A1, CC ) ; /* (b) */
61
R0.L = CC = BXOR(A0, A1, CC);
62
R0.L = CC = BXOR(A0, A1, CC);
63
 
64
R3.L = CC = BXOR(A0, A1, CC);
65
R3.L = CC = BXOR(A0, A1, CC);
66
 
67
A0 = BXORSHIFT ( A0, A1, CC ) ; /* (b) */
68
 
69
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.