mirror of
				https://github.com/netwide-assembler/nasm.git
				synced 2025-10-10 00:25:06 -04:00 
			
		
		
		
	"pop cs" is an 8086-only opcode; we support it for assembly but not for disassembly. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
		
			
				
	
	
		
			18 lines
		
	
	
		
			228 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			228 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
| ;Testname=test; Arguments=-fbin -opushseg.bin; Files=stdout stderr pushseg.bin
 | |
| 
 | |
| 	bits 16
 | |
| 
 | |
| 	push cs
 | |
| 	push ds
 | |
| 	push es
 | |
| 	push ss
 | |
| 	push fs
 | |
| 	push gs
 | |
| 
 | |
| 	pop gs
 | |
| 	pop fs
 | |
| 	pop ss
 | |
| 	pop es
 | |
| 	pop ds
 | |
| 	pop cs		; 8086 only, does not disassemble
 |