30 lines
		
	
	
		
			764 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			764 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
; ========================================================================
 | 
						|
;
 | 
						|
; (C) Copyright 2023 by Molly Rocket, Inc., All Rights Reserved.
 | 
						|
;
 | 
						|
; This software is provided 'as-is', without any express or implied
 | 
						|
; warranty. In no event will the authors be held liable for any damages
 | 
						|
; arising from the use of this software.
 | 
						|
;
 | 
						|
; Please see https://computerenhance.com for further information
 | 
						|
;
 | 
						|
; ========================================================================
 | 
						|
 | 
						|
; ========================================================================
 | 
						|
; LISTING 38
 | 
						|
; ========================================================================
 | 
						|
 | 
						|
bits 16
 | 
						|
 | 
						|
mov cx, bx
 | 
						|
mov ch, ah
 | 
						|
mov dx, bx
 | 
						|
mov si, bx
 | 
						|
mov bx, di
 | 
						|
mov al, cl
 | 
						|
mov ch, ch
 | 
						|
mov bx, ax
 | 
						|
mov bx, si
 | 
						|
mov sp, di
 | 
						|
mov bp, ax
 |