From f86999e137f43372236f2dccd1fe3572a85c0dcd Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 17 Oct 2020 14:16:46 +0200 Subject: Separate-out assembler --- asm/segment.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 asm/segment.h (limited to 'asm/segment.h') diff --git a/asm/segment.h b/asm/segment.h new file mode 100644 index 0000000..1c080d3 --- /dev/null +++ b/asm/segment.h @@ -0,0 +1,15 @@ +#pragma once + +#include "chunk.h" + +#include +#include +#include +#include + +class Segment: public std::vector> +{ + size_t getAddressOfLabel(const std::string& label); +}; + + -- cgit v1.2.3