PROLEAD
A Probing-Based Leakage Detection Tool for Hardware and Software
Loading...
Searching...
No Matches
Projects
PROLEAD
inc
Software
mulator
registers.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <ostream>
4
5
namespace
mulator
6
{
7
8
const
int
REGISTER_COUNT
= 17;
9
10
enum
Register
11
{
12
R0
= 0,
13
R1
,
14
R2
,
15
R3
,
16
R4
,
17
R5
,
18
R6
,
19
R7
,
20
R8
,
21
R9
,
22
R10
,
23
R11
,
24
R12
,
25
R13
,
26
R14
,
27
R15
,
28
29
SB
=
R9
,
30
SL
=
R10
,
31
FP
=
R11
,
32
IP
=
R12
,
33
SP
=
R13
,
34
LR
=
R14
,
35
PC
=
R15
,
36
37
PSR
,
38
};
39
40
std::string
to_string
(
const
Register
& x);
41
std::string
to_string_probe
(
const
Register
& x);
42
uint32_t
to_int
(
const
Register
& x);
43
std::ostream&
operator<<
(std::ostream& os,
const
Register
& x);
44
45
}
mulator
Definition:
architectures.h:7
mulator::Register
Register
Definition:
registers.h:11
mulator::R12
@ R12
Definition:
registers.h:24
mulator::R15
@ R15
Definition:
registers.h:27
mulator::R5
@ R5
Definition:
registers.h:17
mulator::R9
@ R9
Definition:
registers.h:21
mulator::R14
@ R14
Definition:
registers.h:26
mulator::SL
@ SL
Definition:
registers.h:30
mulator::R2
@ R2
Definition:
registers.h:14
mulator::LR
@ LR
Definition:
registers.h:34
mulator::R13
@ R13
Definition:
registers.h:25
mulator::R0
@ R0
Definition:
registers.h:12
mulator::R6
@ R6
Definition:
registers.h:18
mulator::FP
@ FP
Definition:
registers.h:31
mulator::PSR
@ PSR
Definition:
registers.h:37
mulator::SB
@ SB
Definition:
registers.h:29
mulator::R8
@ R8
Definition:
registers.h:20
mulator::R10
@ R10
Definition:
registers.h:22
mulator::R3
@ R3
Definition:
registers.h:15
mulator::PC
@ PC
Definition:
registers.h:35
mulator::R4
@ R4
Definition:
registers.h:16
mulator::R1
@ R1
Definition:
registers.h:13
mulator::IP
@ IP
Definition:
registers.h:32
mulator::R11
@ R11
Definition:
registers.h:23
mulator::R7
@ R7
Definition:
registers.h:19
mulator::SP
@ SP
Definition:
registers.h:33
mulator::to_string
std::string to_string(const Architecture &x)
mulator::REGISTER_COUNT
const int REGISTER_COUNT
Definition:
registers.h:8
mulator::to_string_probe
std::string to_string_probe(const Register &x)
mulator::to_int
uint32_t to_int(const Register &x)
mulator::operator<<
std::ostream & operator<<(std::ostream &os, const Architecture &x)
Generated by
1.9.6