summaryrefslogtreecommitdiffhomepage
path: root/asm/segment.h
blob: 1c080d3c83e68d8baeb527e98be1842007c86a39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include "chunk.h"

#include <exception>
#include <memory>
#include <string>
#include <vector>

class Segment: public std::vector<std::shared_ptr<Chunk>>
{
 size_t getAddressOfLabel(const std::string& label);
};