mirror of
				https://github.com/netwide-assembler/nasm.git
				synced 2025-10-10 00:25:06 -04:00 
			
		
		
		
	Not all covered but still worth to put in Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
		
			
				
	
	
		
			20 lines
		
	
	
		
			356 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			356 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
| ;Testname=unoptimized; Arguments=-O0 -fbin -oalign13.bin; Files=stdout stderr align13.bin
 | |
| ;Testname=optimized; Arguments=-Ox -fbin -oalign13.bin; Files=stdout stderr align13.bin
 | |
| 
 | |
| ; Test of non-power-of-2 alignment
 | |
| 
 | |
| 	bits 32
 | |
| 
 | |
| 	inc eax
 | |
| 	inc eax
 | |
| 	align 13
 | |
| 	inc eax
 | |
| 	inc eax
 | |
| 	align 13
 | |
| 	inc eax
 | |
| 	inc eax
 | |
| 	align 13
 | |
| 	align 13 ;should do nothing
 | |
| 	inc eax
 | |
| 	inc eax
 |