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

Subversion Repositories or2k

[/] [or2k/] [trunk/] [analysis-bin/] [insnanalysis/] [insnanalysis.h] - Blame information for rev 26

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 16 julius
/*
2
  Header for instruction analysis program.
3
 
4 22 julius
  Have appropriate defines/typedefs for desired instruction set.
5 16 julius
 
6 22 julius
  Todo: #ifdefs for other instruction sets
7
 
8 16 julius
*/
9
 
10 22 julius
 
11
 
12
// OpenRISC 1000 32-bit compiler output analysis settings:
13
 
14 16 julius
#include "stdint.h"
15
#include "or1k-32-insn.h"
16
 
17
// 4 bytes per instruction
18
#define INSN_SIZE_BYTES 4
19
 
20
typedef uint32_t instruction;
21
 
22
typedef struct or1k_32_instruction_properties instruction_properties ;
23
 
24
#define reset_instruction_properties(x) memset(x, 0, sizeof(instruction_properties))
25
 

powered by: WebSVN 2.1.0

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