Website Summary Files Commits Branches @commit @diff @stats
path: root / spasm / src / asm / bytecode.hpp
diff options
context:
space:
mode:
Commitc32eda4e697803824e79878c74d541b81fbd04d8 (patch)
Author
 dtrendafilov <trendafilov.dn@gmail.com>
2018-11-15 11:35:44 +0200
Committer
 GitHub <noreply@github.com>
2018-11-15 11:35:44 +0200
Filesace7bdc0df3791b6db8878d52ba98cb368e180b8 /spasm/src/asm/bytecode.hpp
IPL-c32eda4e697803824e79878c74d541b81fbd04d8.tar
IPL-c32eda4e697803824e79878c74d541b81fbd04d8.tar.gz
IPL-c32eda4e697803824e79878c74d541b81fbd04d8.zip
Parenta7cd9d4f8d83024402bacb39786e5e1a018a0a04 (diff)
Parentd7b2e339ff06c64bcb1322eec396d4995da6b17a (diff)
Merge pull request #48 from SofiaCPP/feature/spasm_asm
Spasm tests and latest instruction set
1 files changed, 2 insertions, 2 deletions
-rw-r--r--spasm/src/asm/bytecode.hpp4
diff --git a/spasm/src/asm/bytecode.hpp b/spasm/src/asm/bytecode.hpp
index d249db8..374ccef 100644
--- a/spasm/src/asm/bytecode.hpp
+++ b/spasm/src/asm/bytecode.hpp
@@ -13,8 +13,8 @@ namespace ASM
class Bytecode_Stream
{
public:
- typedef unsigned char byte;
- typedef byte Opcode_t;
+ typedef int8_t byte;
+ typedef byte Opcode_t;
virtual ~Bytecode_Stream();
virtual void push_opcode(Opcode_t) = 0;