From ae58a8d1f55336855a389a6bd9c804de20bda921 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Fri, 25 Sep 2020 03:41:33 +0200 Subject: Work on bit/mcureg/mcubase --- hw_html/bit.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 hw_html/bit.cpp (limited to 'hw_html/bit.cpp') 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 +#include + +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; +} -- cgit v1.2.3