A collection of assembly programs specifically with MacOS system calls and nasm intruction set for 8086 microprocessor.
brew install nasm
git clone https://github.com/PikkaPikkachu/Assembly-with-MacOS
cd Assembly-with-MacOS
Now cd into any program and run it with the specified intruction at the end of code!
git clone https://github.com/PikkaPikkachu/Assembly-with-MacOS
cd Assembly-with-MacOS
Run the following command on terminal:
dosbox
This should open the pre-installed DOSBox. Run the following commands in the DOSBox terminal:
mount c /path/to/directory/of/asm/file
c:
masm <fileName.asm>
link <fileName.obj>
<fileName.exe>
Currently the required .exe
files have been added in the sub-directory itself which can be run directly.
To setup Wine, run on terminal:
sudo apt-get update
sudo apt-get install wine
sudo apt-get install virtualbox
Download the 8086emu.exe
file from /Linux
directory.
Right click and open-with
Wine.
Install and get started by directly editing and running .asm
files in the IDE.
Get started with Hello World program in 8086.
Open to contributions of other programs as well!