aboutsummaryrefslogtreecommitdiff
path: root/client/src/main.cpp
diff options
context:
space:
mode:
authorauth <[email protected]>2020-07-03 14:30:26 +0200
committerauth <[email protected]>2020-07-03 14:30:26 +0200
commit40025e07ca06f48d21b583adc9f78b7b10d90995 (patch)
tree08cc6c5fff5953e0f61b851615d4ebdf93dc7733 /client/src/main.cpp
parentAdded client timeout. (diff)
downloadloader-40025e07ca06f48d21b583adc9f78b7b10d90995.tar.xz
loader-40025e07ca06f48d21b583adc9f78b7b10d90995.zip
Started asmjit wrapper for easier manipulation.
Diffstat (limited to 'client/src/main.cpp')
-rw-r--r--client/src/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/client/src/main.cpp b/client/src/main.cpp
index 61b97d5..f68ef6a 100644
--- a/client/src/main.cpp
+++ b/client/src/main.cpp
@@ -1,10 +1,20 @@
#include "include.h"
#include "util/io.h"
#include "client/client.h"
+#include "assembler/assembler.h"
int main(int argc, char* argv[]) {
io::init();
+ assembler::assembler a;
+ a.push({1, 2, 3, 7, 9});
+ a.end();
+ for(auto &b : a()) {
+ io::logger->info("{:x}", int(b));
+ }
+
+
+ std::cin.get();
tcp::client client;
std::thread t{tcp::client::monitor, std::ref(client)};