yet another fix, this time to divu/divul/divs/divsl
This commit is contained in:
		
							parent
							
								
									0ba64871f6
								
							
						
					
					
						commit
						a6bf3e8892
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -67,14 +67,14 @@ instruction
 | 
			
		|||
			{		/* 64 bit dividend or product */
 | 
			
		||||
				checksize($2, 4);
 | 
			
		||||
				T_EMIT2((046000 | ($1 & ~1)) | mrg_2, 0, 0, 0);
 | 
			
		||||
				T_EMIT2(($1&1)<<11 | $7<<12 | $5 | 02000,0,0,0);
 | 
			
		||||
				T_EMIT2(($1&1)<<11 | $7<<12 | $5 ,0,0,0);
 | 
			
		||||
				ea_2(SIZE_L, DTA);
 | 
			
		||||
			}
 | 
			
		||||
	|	DIVL sizedef ea ',' DREG ':' DREG
 | 
			
		||||
			{	    /* 32 bit long division with remainder */
 | 
			
		||||
				checksize($2, 4);
 | 
			
		||||
				T_EMIT2(($1 & ~1) | mrg_2, 0, 0, 0);
 | 
			
		||||
				T_EMIT2(($1 & 1)<<11 | $7<<12 | $5, 0, 0, 0);
 | 
			
		||||
				T_EMIT2(($1 & 1)<<11 | $7<<12 | $5 | 02000, 0, 0, 0);
 | 
			
		||||
				ea_2(SIZE_L, DTA);
 | 
			
		||||
			}
 | 
			
		||||
	|	LEA ea ',' AREG
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue