listing_0044_register_movs.asm (773B)
1 ; ======================================================================== 2 ; 3 ; (C) Copyright 2023 by Molly Rocket, Inc., All Rights Reserved. 4 ; 5 ; This software is provided 'as-is', without any express or implied 6 ; warranty. In no event will the authors be held liable for any damages 7 ; arising from the use of this software. 8 ; 9 ; Please see https://computerenhance.com for further information 10 ; 11 ; ======================================================================== 12 13 ; ======================================================================== 14 ; LISTING 44 15 ; ======================================================================== 16 17 bits 16 18 19 mov ax, 1 20 mov bx, 2 21 mov cx, 3 22 mov dx, 4 23 24 mov sp, ax 25 mov bp, bx 26 mov si, cx 27 mov di, dx 28 29 mov dx, sp 30 mov cx, bp 31 mov bx, si 32 mov ax, di