An asm implementation of syntax error detector
- compiler.asm - main application
- moving.asm - graphics application for the main application
- iostream.inc - macros for the application
Simple steps to implement the application in 8086
- Dosbox - to emulate a 8086 environment and run the application
- emu8086 - to view and debug the source code
-
Place the files on to the root folder of 8086
-
Open any text editor and write this sample code and save the file on the root folder of 8086 and save it as code.txt
myAge=20;
otherAge=5;
?mother=0;
myAge=myAge++;
multiAge=500*sojj;
isAgeValid=multiAge<=100;
printf "isAgeValid";
- Run tasm and linker writing
tasm compiler+moving;
link compiler+moving;
- Run the file