diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-10-17 17:37:50 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-10-17 17:37:50 +0200 |
commit | 7b49d17f90f26394a116348befb5edcdffcedcb6 (patch) | |
tree | c32e76a9bea5851bfac92708fa626373573e4f06 /asm/segment.h | |
parent | f86999e137f43372236f2dccd1fe3572a85c0dcd (diff) |
Add ret and int
Diffstat (limited to 'asm/segment.h')
-rw-r--r-- | asm/segment.h | 2 |
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(); }; |