aboutsummaryrefslogtreecommitdiff
path: root/hw_html/bit.cpp
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2020-09-25 03:41:33 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2020-09-25 03:41:33 +0200
commitae58a8d1f55336855a389a6bd9c804de20bda921 (patch)
treed3474d55601bdcc5870fd178221f09081a7b4d41 /hw_html/bit.cpp
parent403a94c2411f6a1e96b3dcf10f1fa26ca77729ff (diff)
downloada9_free-ae58a8d1f55336855a389a6bd9c804de20bda921.tar.gz
Work on bit/mcureg/mcubase
Diffstat (limited to 'hw_html/bit.cpp')
-rw-r--r--hw_html/bit.cpp16
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;
+}