summaryrefslogtreecommitdiff
path: root/data/simulating_conditional_jumps/listing_0048_ip_register.asm
blob: f7fe1d74afcdac4cefc7087dcf491ca5a36e390d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
; ========================================================================
;
; (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 48
; ========================================================================

bits 16

mov cx, 200
mov bx, cx
add cx, 1000
mov bx, 2000
sub cx, bx