From 1570f48fe4141e4083c9433dedce1e52655d2e4a Mon Sep 17 00:00:00 2001
From: Patrick_Pluto <patrick_pluto@noreply.codeberg.org>
Date: Fri, 23 Aug 2024 10:38:57 +0200
Subject: [PATCH] Feature Level: 1.2.0

---
 Makefile      | 1 +
 assembler.hpp | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 604ec1a..8bf452b 100644
--- a/Makefile
+++ b/Makefile
@@ -12,3 +12,4 @@ all:
 
 clean:
 	rm bin/$(EXEC)
+	rmdir bin
diff --git a/assembler.hpp b/assembler.hpp
index 606bf0b..312e794 100644
--- a/assembler.hpp
+++ b/assembler.hpp
@@ -41,6 +41,8 @@ void assemble ( vector<string> tokens, uint8_t *rom ) {
             rom[index] = 0x05;
         } else if ( part == "JEQ" ) {
             rom[index] = 0x06;
+        } else if ( part == "HIN" ) {
+            rom[index] = 0x07;
         } else {
             uint8_t value = stoi(part, nullptr, 16);
             rom[index] = value;