DOS emulation environment configuration in addition to the assembly of the work unit to run some of the code snippets .asm implemented and/or prototypes made some time ago as an initiation to this language. -> "If you have any doubts, open an issue"
- Download and install the emulator
- Set up the working folder
cd ~/Desktop
git clone https://github.com/cristianrubioa/tasm_tbt.git
cd tasm_tbt/
- Print working directory
pwd
pwd
> /Users/<user>/Desktop/tasm_tbt #e.g. path
- Open DOSBox
- Configure keyboard input
keyb sp 850
- Mount working directory
MOUNT C: /Users/<user>/Desktop/tasm_tbt
C:
- Test
debug.exe
- Multiplying two numbers in assembly MS-DOS see in gist
# 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
- Test
TASM.exe
andTLINK.exe
- Take a .asm code and generate executable,
bandera.asm
for example
tasm mayus.asm
tlink mayus.obj
# Run
mayus
Note: is the same step for each .asm file.
- rescal.asm -> Resistor color calculator prototype (unfinished)
- mayus.asm -> Convert text to upper case
- minus.asm -> Convert text to lower case
8086 microprocessor emulator with built-in assembler.
- Install emu8086 emulator found in the folder
Note: with this emulator you can also program in assembly language since it has an integrated editor.