mirror of
				https://github.com/netwide-assembler/nasm.git
				synced 2025-10-10 00:25:06 -04:00 
			
		
		
		
	Some simple tests used during debugging; no reason not to keep them around. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
		
			
				
	
	
		
			16 lines
		
	
	
		
			160 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			160 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
| 	bits 64
 | |
| 	pushp rax
 | |
| 	pushp rcx
 | |
| 	pushp rdx
 | |
| 	pushp rbx
 | |
| 	pushp rsp
 | |
| 	pushp rbp
 | |
| 	pushp rsi
 | |
| 	pushp rdi
 | |
| 
 | |
| %assign rn 8
 | |
| %rep 24
 | |
| 	pushp r %+ rn
 | |
|   %assign rn rn+1
 | |
| %endrep
 |