OpenCores
URL https://opencores.org/ocsvn/scarm/scarm/trunk

Subversion Repositories scarm

[/] [scarm/] [branches/] [release_0_1/] [src/] [scBDT.h] - Blame information for rev 8

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 zhong
// scBDT.h: interface for the scBDT class.
2
//
3
//////////////////////////////////////////////////////////////////////
4
 
5
#if !defined(AFX_SCBDT_H__8C326336_AB49_11D6_BB1E_000000000000__INCLUDED_)
6
#define AFX_SCBDT_H__8C326336_AB49_11D6_BB1E_000000000000__INCLUDED_
7
 
8
#if _MSC_VER > 1000
9
#pragma once
10
#endif // _MSC_VER > 1000
11
 
12
#include "..\SRC\scARMInstruction.h"
13
#include "scTypes.h"    
14
const uint32_t BDT_MASK  =  0x0E000000;
15
const uint32_t BDT_SIG  =   0x08000000;
16
 
17
class scBDT : public scARMInstruction
18
{
19
 
20
typedef struct BDTTAG
21
{
22
 uint32_t list:16;// one bit vs. one register
23
 uint32_t rn: 4;
24
 uint32_t l:1;
25
 uint32_t w:1;
26
 uint32_t s:1;
27
 uint32_t u:1;
28
 uint32_t p:1;
29
 uint32_t pad:3;
30
 uint32_t cond:4;
31
} BDT;
32
BDT ir;
33
  static const char* kind_string;
34
public:
35
        uint32_t A();
36
        const char* kind();
37
        scBDT(uint32_t);
38
        virtual ~scBDT();
39
 
40
};
41
 
42
#endif // !defined(AFX_SCBDT_H__8C326336_AB49_11D6_BB1E_000000000000__INCLUDED_)

powered by: WebSVN 2.1.0

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