HTHasm is a simple compiled scripting language designed exclusively for Linux systems and x86 architecture. Its primary purpose is to display messages using message boxes (msgbox
). This documentation provides an overview of the language syntax, installation instructions, and usage.
Before running the assembly code, ensure you have Python, NASM (Netwide Assembler), and GNU Linker (ld) installed.
-
For Debian/Ubuntu:
sudo apt update sudo apt install nasm binutils
-
For CentOS/RHEL:
sudo yum install nasm binutils
-
For Fedora:
sudo dnf install nasm binutils
-
For Arch Linux:
sudo pacman -S nasm binutils
-
Clone the repository:
git clone https://github.com/TheMaster1127/HTHasm.git cd HTHasm
-
Write your HTHasm code:
Create a new file with a
.hthasm
extension (e.g.,hello.hthasm
) and write your HTHasm code usingmsgbox
commands.Example (
hello.hthasm
):msgbox, Welcome to HTHasm! msgbox, This is a simple example.
-
Run your HTHasm program:
Execute the HTHasm script using the provided Python script (
HTHasm.py
).python3 HTHasm.py hello.hthasm
This command compiles your HTHasm code into an executable and runs it. On Unix-like systems, you may need to prepend
./
to the executable filename if it doesn't execute automatically.