Feature Level: 1.2.0
This commit is contained in:
		
							parent
							
								
									2adb9e2070
								
							
						
					
					
						commit
						1570f48fe4
					
				
					 2 changed files with 3 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -12,3 +12,4 @@ all: | |||
| 
 | ||||
| clean: | ||||
| 	rm bin/$(EXEC) | ||||
| 	rmdir bin | ||||
|  |  | |||
|  | @ -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; | ||||
|  |  | |||
		Reference in a new issue
	
	 Patrick_Pluto
						Patrick_Pluto