diff options
| author | Raymaekers Luca <luca@spacehb.net> | 2025-10-15 11:51:03 +0200 |
|---|---|---|
| committer | Raymaekers Luca <luca@spacehb.net> | 2025-10-15 11:51:03 +0200 |
| commit | 0982906027721c71307e234d6f14f886bdca47c5 (patch) | |
| tree | 46bb166afe8a5f63412c62beb69879b101ec9847 /src/data/listing_0047_challenge_flags.asm | |
| parent | 323a04b6e38a9456977551fa49f7031229c7abdd (diff) | |
checkpoint
Diffstat (limited to 'src/data/listing_0047_challenge_flags.asm')
| -rw-r--r-- | src/data/listing_0047_challenge_flags.asm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/data/listing_0047_challenge_flags.asm b/src/data/listing_0047_challenge_flags.asm new file mode 100644 index 0000000..0a4cd1f --- /dev/null +++ b/src/data/listing_0047_challenge_flags.asm @@ -0,0 +1,36 @@ +; ======================================================================== +; +; (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 47 +; ======================================================================== + +bits 16 + +add bx, 30000 +add bx, 10000 +sub bx, 5000 +sub bx, 5000 + +mov bx, 1 +mov cx, 100 +add bx, cx + +mov dx, 10 +sub cx, dx + +add bx, 40000 +add cx, -90 + +mov sp, 99 +mov bp, 98 +cmp bp, sp |
