summaryrefslogtreecommitdiffhomepage
path: root/asm/segment.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm/segment.h')
-rw-r--r--asm/segment.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/asm/segment.h b/asm/segment.h
index 1c080d3..f0a758e 100644
--- a/asm/segment.h
+++ b/asm/segment.h
@@ -9,7 +9,9 @@
class Segment: public std::vector<std::shared_ptr<Chunk>>
{
+public:
size_t getAddressOfLabel(const std::string& label);
+ std::vector<uint8_t> getCode();
};