From 0ebbf3ca751e638a90cf886625992bb028f9b587 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 14 Apr 2024 02:45:48 +0630 Subject: Start writing assembler in C++ Best language to use as it's already compatible with the headers I'm using and can pretty neatly enter the build system while also using the functions I've built for converting to and from bytecode! --- asm/main.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 asm/main.cpp (limited to 'asm/main.cpp') diff --git a/asm/main.cpp b/asm/main.cpp new file mode 100644 index 0000000..1ad17b1 --- /dev/null +++ b/asm/main.cpp @@ -0,0 +1,19 @@ +/* Copyright (C) 2024 Aryadev Chavali + + * You may distribute and modify this code under the terms of the + * GPLv2 license. You should have received a copy of the GPLv2 + * license with this file. If not, please write to: + * aryadev@aryadevchavali.com. + + * Created: 2024-04-14 + * Author: Aryadev Chavali + * Description: Entrypoint for assembly program + */ + +#include + +int main(void) +{ + std::cout << "Hello, world!" << std::endl; + return 0; +} -- cgit v1.2.3-13-gbd6f