Feature Level: 1.2.0

This commit is contained in:
Patrick_Pluto 2024-08-23 10:37:56 +02:00
parent 98167a9d93
commit 0227dcf2ba
3 changed files with 8 additions and 0 deletions

View file

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

View file

@ -57,6 +57,10 @@ void cpuInstructions ( uint8_t *rom ) {
*pointer = rom[*pointer + 1];
}
break;
case 0x07: // HIN
cin >> registers[rom[*pointer + 1]];
*pointer += 2;
break;
default:
cout << "Invalid Instruction, quitting." << endl;
exit ( 1 );

View file

@ -117,6 +117,9 @@ void textProcessing ( uint8_t ch ) {
cout << "Z";
break;
case 0x25:
cout << " ";
break;
case 0x26:
cout << endl;
break;
default: