From fe722b9304052b7a0a67fe01633c24ba5b4cdafa Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 18 Oct 2020 18:38:26 +0200 Subject: Implemented insertAddresses() --- asm/segment.h | 1 + 1 file changed, 1 insertion(+) (limited to 'asm/segment.h') 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> { public: size_t getAddressOfLabel(const std::string& label); + size_t getAddressOfIndex(size_t index); std::vector getCode(); void insertAddresses(); void optimize(); -- cgit v1.2.3