diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-10-18 18:38:26 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-10-18 18:38:26 +0200 |
commit | fe722b9304052b7a0a67fe01633c24ba5b4cdafa (patch) | |
tree | 7656b558c4dea8221bff07377253c66ec9f79086 /asm/segment.h | |
parent | 8a2d1dc5c8b6639985d26d1c915048d87d52426b (diff) |
Implemented insertAddresses()
Diffstat (limited to 'asm/segment.h')
-rw-r--r-- | asm/segment.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/asm/segment.h b/asm/segment.h index dfacd12..97e1670 100644 --- a/asm/segment.h +++ b/asm/segment.h @@ -11,6 +11,7 @@ class Segment: public std::vector<std::shared_ptr<Chunk>> { public: size_t getAddressOfLabel(const std::string& label); + size_t getAddressOfIndex(size_t index); std::vector<uint8_t> getCode(); void insertAddresses(); void optimize(); |