Feature Level: 1.2.0

This commit is contained in:
Patrick_Pluto 2024-08-23 10:38:57 +02:00
parent 2adb9e2070
commit 1570f48fe4
2 changed files with 3 additions and 0 deletions

View file

@ -12,3 +12,4 @@ all:
clean:
rm bin/$(EXEC)
rmdir bin

View file

@ -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;