Created
July 8, 2020 07:50
-
-
Save cristianrubioa/a181e0f577f0a1cd73c00a0015793109 to your computer and use it in GitHub Desktop.
Multiplying two numbers in assembly MS-DOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Connecting physical folders | |
MOUNT C: /Users/user/file | |
C: | |
# To view memory, enter programs into it, | |
# and track its execution | |
debug | |
a100 | |
# Clean records and multiply | |
sub ax,ax | |
mov cx,4 | |
add ax,8 | |
loop 105 | |
nop | |
# View and execute the process | |
# for each instruction | |
r | |
t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment