cpp-programming

Simple C++ programs
git clone git://git.laack.co/cpp-programming.git
Log | Files | Refs | README

listing_0043_immediate_movs.asm (724B)


      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 43
     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, 5
     25 mov bp, 6
     26 mov si, 7
     27 mov di, 8