summaryrefslogtreecommitdiffhomepage
path: root/asm/segment.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-10-18 16:59:54 +0200
committerRoland Reichwein <mail@reichwein.it>2020-10-18 16:59:54 +0200
commit8a2d1dc5c8b6639985d26d1c915048d87d52426b (patch)
tree2f3957a1c24ef35b4ec9259a6a0d97393b248a57 /asm/segment.h
parent8f28495ab9a8ebf53868405541e907394895e51f (diff)
Added xor, mov, jmp
Diffstat (limited to 'asm/segment.h')
-rw-r--r--asm/segment.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/asm/segment.h b/asm/segment.h
index f0a758e..dfacd12 100644
--- a/asm/segment.h
+++ b/asm/segment.h
@@ -12,6 +12,7 @@ class Segment: public std::vector<std::shared_ptr<Chunk>>
public:
size_t getAddressOfLabel(const std::string& label);
std::vector<uint8_t> getCode();
+ void insertAddresses();
+ void optimize();
};
-