mirror of
				https://github.com/alsa-project/alsa-tools.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	
		
			
	
	
		
			21 lines
		
	
	
	
		
			390 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
		
		
			
		
	
	
			21 lines
		
	
	
	
		
			390 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
| 
								 | 
							
								;PZU
							 | 
						||
| 
								 | 
							
								    name "Switch 2 - channel"
							 | 
						||
| 
								 | 
							
								    include "emu_constants.asm"
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								Left	IO
							 | 
						||
| 
								 | 
							
								Right	IO
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								switchL control 0,0,1
							 | 
						||
| 
								 | 
							
								switchR control 0,0,1
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    macints Left, C_0, Left, switchL
							 | 
						||
| 
								 | 
							
								    macints Right, C_0, Right, switchR
							 | 
						||
| 
								 | 
							
								;    macs C_0, switchL, C_0, C_0
							 | 
						||
| 
								 | 
							
								;    beq .left
							 | 
						||
| 
								 | 
							
								;    macs Left, Left, C_0, C_0
							 | 
						||
| 
								 | 
							
								;.left
							 | 
						||
| 
								 | 
							
								;    macs C_0, switchR, C_0, C_0
							 | 
						||
| 
								 | 
							
								;    beq .end
							 | 
						||
| 
								 | 
							
								;    macs Right, Right, C_0, C_0
							 | 
						||
| 
								 | 
							
								;.end
							 | 
						||
| 
								 | 
							
								    end
							 |