Skip to content

Instantly share code, notes, and snippets.

@cristianrubioa
Created July 8, 2020 07:50
Show Gist options
  • Save cristianrubioa/a181e0f577f0a1cd73c00a0015793109 to your computer and use it in GitHub Desktop.
Save cristianrubioa/a181e0f577f0a1cd73c00a0015793109 to your computer and use it in GitHub Desktop.
Multiplying two numbers in assembly MS-DOS
# 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