1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Filename: core.rs
// Author: Kai Rese
// Version: 0.6
// Date: 21-06-2022 (DD-MM-YYYY)
// Library: gpcas_forwardcom
//
// Copyright (c) 2022 Kai Rese
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this program. If not, see
// <https://www.gnu.org/licenses/>.
//! This module extends the emulator module.
//!
//! It contains most of the actual emulation functionality. The main exception is the decode
//! process, which has its own module in order to keep the scope of each module limited.
pub use *;
pub use execute;
pub use prepare;
pub use set_next_ip;
pub use write_results;
/// Sign-extends an integer value of the specified bit size to 64 bit.