# dev = device name
# program = program memory in 14 bit words
# data = data memory in bytes
# eeprom = eeprom storage
# enhanced = 0 | 1
#   0: regular device (default)
#   1: indicate that this is an enhanced core (automatic context saving on IRQ)
# io = io lines
# maxram = maximum memmap address for unique general purpose registers
# bankmsk = mask for memmap bank selecting. 0x80 for two banks usable, 
#           0x180 for four.
# config = white-space separated list of config word addresses
# regmap = registers duplicated in multiple banks. First value is a bank bitmask,
#          following values are register addresses
# memmap <start> <end> <alias>
#	<start> - <end> mirrored in all banks set in <alias>
#	<alias> is a bitmask of bank bits (0x80, 0x100, 0x180)
#	Make sure to always provide at least one non-full (<alias> = <bankmsk>)
#	record or SDCC will assume that all usable memory is shared across all
#	banks!
#
#

#
# MC32 series
#
processor 8K7073
        program         8K
        data            384
        eeprom          256
        io              22
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x000	

processor 4K7073
        program         4K
        data            384
        eeprom          256
        io              22
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x000	

processor 7362
        program         4K
        data            256
        eeprom          128
        io              15
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x000	

processor 7361
        program         2K
        data            256
        eeprom          0
        io              18
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x000	

processor 7132
        program         4K
        data            256
        eeprom          128
        io              18
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x000	   

processor 6910
        program         1K
        data            48
        eeprom          0
        io              6
        maxram          0x7F
        bankmsk         0x00
        config          0x8000 0x8001
        memmap          0x07 0x07 0x000
        memmap          0x10 0x3f 0x000  

processor 8K7323
        program         8K
        data            256
        eeprom          0
        io              22
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x000
        
processor 4K7323
        program         4K
        data            256
        eeprom          0
        io              22
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x000

processor 7541
	program		2K
	data		256
	eeprom		0
	io			46
	maxram		0x1ff
	bankmsk		0x00
	config		0x8000 0x8001
	memmap		0x00 0x7f 0x000

processor 3221
	program		1K
	data		128
	eeprom		0
	io			12
	maxram		0x1ff
	bankmsk		0x00
	config		0x8000 0x8001
	memmap		0x00 0x7f 0x000
	
processor 3264
	program		4K
	data		320
	eeprom		0
	io		26
	maxram		0x1ff
	bankmsk		0x00
	config		0x8000 0x8001
	memmap		0x00 0x13f 0x000
	
processor 7212
        program         4K
        data            128
        eeprom          0
        io              12
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001
        memmap          0x00 0x7f 0x000  
	
processor 7333
        program         8K
        data            384
        eeprom          0
        io              22
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x000	
        
processor 7341
        program         2K
        data            384
        eeprom          0
        io              22
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x000	
        
processor 7342
        program         4K
        data            384
        eeprom          0
        io              22
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x000	 
       
processor 7062
        program         4K
        data            256
        eeprom          0
        io              18
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001
        memmap          0x00 0x7f 0x000           
       
processor 7071
        program         2K
        data            384
        eeprom          0
        io              18
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x000	 
       
processor 2K9941           
	program		2K             
	data		256              
	eeprom		0              
	io			26               
	maxram		0x1ff          
	bankmsk		0x00           
	config		0x8000 0x8001  
	memmap		0x00 0xff 0x000
	                         
processor 4K9941           
	program		4K             
	data		256              
	eeprom		0              
	io			26               
	maxram		0x1ff          
	bankmsk		0x00           
	config		0x8000 0x8001  
	memmap		0x00 0xff 0x000

       
processor 9903
        program         4K
        data            384
        eeprom          0
        io              22
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x000

processor 9904
        program         8K
        data            384
        eeprom          0
        io              22
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x000
	
processor 7122
        program         4K
        data            256
        eeprom          0
        io              18
        maxram          0x1ff
        bankmsk         0x00
	config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x000	
        
processor 9909
        program         4K
        data            256
        eeprom          0
        io              18
        maxram          0x1ff
        bankmsk         0x00
	config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x000

processor 9910
        program         4K
        data            256
        eeprom          0
        io              18
        maxram          0x1ff
        bankmsk         0x00
	config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x000
	
processor 8132
        program         4K
        data            256
        eeprom          0
        io              26
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001 0x8002 0x8003 0x8004
        memmap          0x00 0xff 0x13f		
	
processor 3316
	program		16K
	data		512
	eeprom		0
	io			46
	maxram		0x1ff
	bankmsk		0x00
	config		0x8000 0x8001
	memmap		0x00 0x7f 0x000
	
processor 3378
        program         8K
        data            256
        eeprom          0
        io              16
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001
        memmap          0x00 0xff 0x000	
	
processor 5312
        program         4K
        data            256
        eeprom          0
        io              15
        maxram          0x1d7
        bankmsk         0x00
        config          0x8000 0x8001 0x8002
        memmap          0x00 0xff 0x000
        
processor 5222
        program         4K
        data            256
        eeprom          0
        io              14
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001
        memmap          0x00 0xff 0x000
        
processor MTP5222
        program         17K
        data            256
        eeprom          0
        io              14
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001
        memmap          0x00 0xff 0x000
        
processor 5232
        program         4K
        data            192
        eeprom          0
        io              14
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001
        memmap          0x00 0xff 0x000        

processor MTP5232
        program         17K
        data            192
        eeprom          0
        io              14
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001
        memmap          0x00 0xff 0x000        
        
processor 3111
	program		1K
	data		48
	eeprom		0
	io		14
	maxram		0x3f
	bankmsk		0x00
	config		0x8000 0x8001
	memmap		0x10 0x3f 0x000                	



processor 7331
	program		2K
	data		256
	eeprom		0
	io			15
	maxram		0x1ff
	bankmsk		0x00
	config		0x8000 0x8001
	memmap		0x00 0xff 0x000
	
processor 7311                               
        program         2K                   	
        data            256                  	
        eeprom          0                    	
        io              14                   
        maxram          0x1ff                
        bankmsk         0x00                 
        config          0x8000 0x8001        
        memmap          0x00 0x7f 0x000    
processor 7351
	program		2K
	data		256
	eeprom		0
	io			14
	maxram		0x1ff
	bankmsk		0x00
	config		0x8000 0x8001
	memmap		0x00 0xff 0x000
processor 8141
	program		2K
	data		160
	eeprom		0
	io			14
	maxram		0x1ff
	bankmsk		0x00
	config		0x8000 0x8001
	memmap		0x00 0x7f 0x000		        
 
processor 7022
        program         4K
        data            128
        eeprom          0
        io              8
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001
        memmap          0x00 0x7f 0x000  
        
processor 7510
        program         1K
        data            128
        eeprom          0
        io              8
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001
        memmap          0x00 0x7f 0x000 
        
processor 7511
        program         2K
        data            128
        eeprom          0
        io              8
        maxram          0x1ff
        bankmsk         0x00
        config          0x8000 0x8001
        memmap          0x00 0x7f 0x000      
        
processor 9902
        program         2K
        data            128
        eeprom          0
        io              10
        maxram          0x1ff
        bankmsk         0x00
        config          0x0fec 0x0fed 0x0fee 0x0fef 0x0ff0
        memmap          0x00 0xff 0x000  