Skip to content

pcatalini/Assembly-2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048 ASSEMBLY FOR 8086 ARCHITECTURE

alt text

About the project

This program was developed to learn instructions of 8086 processor, it was a task for the Computer engineer course at university of PUC Campinas brazil.

How i can run it?

It will be necessary to run inside a DOS environment, of course it's not easy to find a original computer with DOS on now's days, however we can do that by using virtual machine like DOSBOX

Steps to setup enviroment

  1. First download the DOSBOX and follow the official documentation to install it;

  2. It will be necessary to mount a volume from the host machine into the DOSBOX, for that, use the command bellow

    MOUNT C PATH_ROOT_PROJECT
    

    Change the PATH_ROOT_PROJECT with the path for your root project within your host computer

  3. Now you can enter into the directory by typing

    C: C
    

    By performing the <dir> command you should be able to see the files from that mouted point

Steps to compile the project

  1. To compile we'll use two auxiliary programs, which are TASM.EXE and TLINK.EXE. both of them is insie root folder of this project. to convert the .ASM into a .OBJ run the following command

    TASM.EXE 2048.ASM
    

    By typing the command <dir> again you should be able to see the 2048.OBJ as an output from the command above.

  2. To compile and generates an .EXE it will be required to use TLINK.EXE program as shown bellow

    TLINK.EXE 2048.obj
    
  3. Well done! at this point 2048 is already compiled! to run it use the following command

    2048.EXE
    

Other informations

The performance can be increased by typing the keys Ctrl+f12 or decrease using Ctrl+f11, it is recommended to decrease velocity at least once to check what is happening on the screen during the screen print process

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published