diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2020-09-25 03:41:33 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2020-09-25 03:41:33 +0200 |
| commit | ae58a8d1f55336855a389a6bd9c804de20bda921 (patch) | |
| tree | d3474d55601bdcc5870fd178221f09081a7b4d41 /hw_html/bit.cpp | |
| parent | 403a94c2411f6a1e96b3dcf10f1fa26ca77729ff (diff) | |
| download | a9_free-ae58a8d1f55336855a389a6bd9c804de20bda921.tar.gz | |
Work on bit/mcureg/mcubase
Diffstat (limited to 'hw_html/bit.cpp')
| -rw-r--r-- | hw_html/bit.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/hw_html/bit.cpp b/hw_html/bit.cpp new file mode 100644 index 0000000..0381b59 --- /dev/null +++ b/hw_html/bit.cpp @@ -0,0 +1,16 @@ +#include <bit.hpp> +#include <iostream> + +bit::bit(const std::string &name, const std::string &access, + const std::string &pos) : + mcubase(name, access), + off(get(pos)) +{ +} + +struct bit::off bit::get(const std::string &pos) +{ + struct off off = {0}; + std::cout << pos + "\n"; + return off; +} |
